Jellyfin Forum
API - RemoteTrailers does not get updated - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: API - RemoteTrailers does not get updated (/t-api-remotetrailers-does-not-get-updated)



API - RemoteTrailers does not get updated - segovid - 2024-08-07

Hello
My payload is the whole item json data obtained from a previous GET request. After making my changes, the POST instruction is going through, I am getting a 204 status code, other fields like overview or tags do get properly updated but I just can't get the field 'RemoteTrailers' to get updated in spite of the API documentation that indicates I should be able to set it.
What I am missing ?


RE: API - RemoteTrailers does not get updated - xaque - 2024-08-07

Can you post a sample of your payload/request. I'll see if I can reproduce what you're trying and report back my results.


RE: API - RemoteTrailers does not get updated - niels - 2024-08-07

I don't think you can update remote trailers using the API.


RE: API - RemoteTrailers does not get updated - segovid - 2024-08-07

Well in that case, it might be good to update API documentation:
currently it says it is possible
POST / Updates an item / (extract):
RemoteTrailers / Array of objects or null (MediaUrl) - Gets or sets the trailer urls.


RE: API - RemoteTrailers does not get updated - segovid - 2024-08-07

(2024-08-07, 11:53 AM)xaque Wrote: Can you post a sample of your payload/request. I'll see if I can reproduce what you're trying and report back my results.

Sure, here is the json payload:

Code:
{
    "Name": "Les Tontons Flingueurs",
    "OriginalTitle": "Les Tontons flingueurs",
    "ServerId": "c19eb72575494519a008cc83efc6009f",
    "Id": "a81d988fe473e844fe71f855797b45cb",
    "Etag": "fb4b5b981ce6f14181461fa9a885b275",
    "DateCreated": "2023-10-20T05:09:55.434Z",
    "CanDelete": true,
    "CanDownload": true,
    "HasSubtitles": true,
    "PreferredMetadataLanguage": "",
    "PreferredMetadataCountryCode": "",
    "Container": "mkv",
    "SortName": "tontons flingueurs",
    "ForcedSortName": "Tontons Flingueurs",
    "PremiereDate": "1963-11-27T00:00:00.0000000Z",
    "ExternalUrls": [
        {
            "Name": "IMDb",
            "Url": "https://www.imdb.com/title/tt0057591"
        },
        {
            "Name": "TheMovieDb",
            "Url": "https://www.themoviedb.org/movie/25253"
        },
        {
            "Name": "Trakt",
            "Url": "https://trakt.tv/movies/tt0057591"
        }
    ],
    "MediaSources": [
        {
            "Protocol": "File",
            "Id": "a81d988fe473e844fe71f855797b45cb",
            "Path": "\\\\SERVER-01\\Films_TV\\2_HD\\Movies/LES TONTONS FLINGUEURS (1963).mkv",
            "Type": "Default",
            "Container": "mkv",
            "Size": 5342944812,
            "Name": "LES TONTONS FLINGUEURS (1963)",
            "IsRemote": false,
            "ETag": "5a95efe68077507f5edb3d7b8bd14eff",
            "RunTimeTicks": 66847630000,
            "ReadAtNativeFramerate": false,
            "IgnoreDts": false,
            "IgnoreIndex": false,
            "GenPtsInput": false,
            "SupportsTranscoding": false,
            "SupportsDirectStream": false,
            "SupportsDirectPlay": true,
            "IsInfiniteStream": false,
            "RequiresOpening": false,
            "RequiresClosing": false,
            "RequiresLooping": false,
            "SupportsProbing": true,
            "VideoType": "VideoFile",
            "MediaStreams": [
                {
                    "Codec": "hevc",
                    "Language": "fre",
                    "TimeBase": "1/1000",
                    "Title": "HEVC-H265",
                    "VideoRange": "SDR",
                    "VideoRangeType": "SDR",
                    "AudioSpatialFormat": "None",
                    "DisplayTitle": "HEVC-H265 - 1080p - SDR",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "BitRate": 6394177,
                    "BitDepth": 8,
                    "RefFrames": 1,
                    "IsDefault": true,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 1080,
                    "Width": 1920,
                    "AverageFrameRate": 24,
                    "RealFrameRate": 24,
                    "Profile": "Main",
                    "Type": "Video",
                    "AspectRatio": "16:9",
                    "Index": 0,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "PixelFormat": "yuv420p",
                    "Level": 120,
                    "IsAnamorphic": false
                },
                {
                    "Codec": "dts",
                    "Language": "fre",
                    "TimeBase": "1/1000",
                    "Title": "DTS-HD Master Audio 2.0",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "DisplayTitle": "DTS-HD Master Audio 2.0 - Fre - Stereo - Default",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "ChannelLayout": "stereo",
                    "BitRate": 1241837,
                    "BitDepth": 24,
                    "Channels": 2,
                    "SampleRate": 48000,
                    "IsDefault": true,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Profile": "DTS-HD MA",
                    "Type": "Audio",
                    "Index": 1,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "Level": 0
                },
                {
                    "Codec": "ac3",
                    "Language": "fre",
                    "TimeBase": "1/1000",
                    "Title": "AC-3 Dolby Digital 2.0",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "DisplayTitle": "AC-3 Dolby Digital 2.0 - Fre - Stereo",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "ChannelLayout": "stereo",
                    "BitRate": 192000,
                    "Channels": 2,
                    "SampleRate": 48000,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Type": "Audio",
                    "Index": 2,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "Level": 0
                },
                {
                    "Codec": "subrip",
                    "Language": "eng",
                    "TimeBase": "1/1000",
                    "Title": "English (SRT)",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "LocalizedUndefined": "Undefined",
                    "LocalizedDefault": "Default",
                    "LocalizedForced": "Forced",
                    "LocalizedExternal": "External",
                    "LocalizedHearingImpaired": "Hearing Impaired",
                    "DisplayTitle": "English (SRT) - SUBRIP",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 0,
                    "Width": 0,
                    "Type": "Subtitle",
                    "Index": 3,
                    "IsExternal": false,
                    "IsTextSubtitleStream": true,
                    "SupportsExternalStream": true,
                    "Level": 0
                },
                {
                    "Codec": "DVDSUB",
                    "Language": "fre",
                    "TimeBase": "1/1000",
                    "Title": "Fran\u00e7ais (VobSub)",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "LocalizedUndefined": "Undefined",
                    "LocalizedDefault": "Default",
                    "LocalizedForced": "Forced",
                    "LocalizedExternal": "External",
                    "LocalizedHearingImpaired": "Hearing Impaired",
                    "DisplayTitle": "Fran\u00e7ais (VobSub) - Fre - DVDSUB",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 1080,
                    "Width": 1920,
                    "Type": "Subtitle",
                    "Index": 4,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "Level": 0
                },
                {
                    "Codec": "mjpeg",
                    "ColorSpace": "bt470bg",
                    "TimeBase": "1/90000",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "BitDepth": 8,
                    "RefFrames": 1,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 1500,
                    "Width": 1000,
                    "RealFrameRate": 90000,
                    "Profile": "Baseline",
                    "Type": "EmbeddedImage",
                    "Index": 5,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "PixelFormat": "yuvj444p",
                    "Level": -99,
                    "IsAnamorphic": false
                }
            ],
            "MediaAttachments": [
                {
                    "Codec": "mjpeg",
                    "CodecTag": "[0][0][0][0]",
                    "Index": 5,
                    "FileName": "cover.jpg",
                    "MimeType": "image/jpeg"
                }
            ],
            "Formats": [],
            "Bitrate": 7828014,
            "RequiredHttpHeaders": {},
            "TranscodingSubProtocol": "http",
            "DefaultAudioStreamIndex": 1
        }
    ],
    "ProductionLocations": [
        "France",
        "Germany",
        "Italy"
    ],
    "Path": "\\\\SERVER-01\\Films_TV\\2_HD\\Movies/LES TONTONS FLINGUEURS (1963).mkv",
    "EnableMediaSourceDisplay": true,
    "OfficialRating": "R",
    "CustomRating": "R",
    "ChannelId": null,
    "Overview": "Ex-gangster Fernand receives a call from a dying friend, a mob boss nicknamed \"The Mexican\". The doomed mobster talks Fernand into taking care of some criminal business and looking after his soon-to-be-married daughter... ",
    "Taglines": [],
    "Genres": [
        "Comedy",
        "Crime",
        "French",
        "Gangsters"
    ],
    "CommunityRating": 7.742,
    "RunTimeTicks": 66847630000,
    "PlayAccess": "Full",
    "AspectRatio": "1.67:1",
    "ProductionYear": 1963,
    "RemoteTrailers": [
        {
            "Url": "https://www.youtube.com/watch?v=hor8dXNodns",
            "Name": "Bande-annonce"
        }
    ],
    "ProviderIds": {
        "Tmdb": "25253",
        "Imdb": "tt0057591"
    },
    "IsHD": true,
    "IsFolder": false,
    "ParentId": "ad745795c0e05c41fd162fe3a153c100",
    "Type": "Movie",
    "People": [
        {
            "Name": "Lino Ventura",
            "Id": "74ae94bc7031a3524006f67e1ade2fc2",
            "Role": "Fernand Naudin",
            "Type": "Actor",
            "PrimaryImageTag": "5ee4f57069f4069dbe1b491707a44428",
            "ImageBlurHashes": {
                "Primary": {
                    "5ee4f57069f4069dbe1b491707a44428": "dHI;R~^j.l-p-ox[%gRj2bK5=|%Lt,oM?aoz%fnO%LRj"
                }
            }
        },
        {
            "Name": "Bernard Blier",
            "Id": "2671fbfd8e15b8f3470096b85ec9758f",
            "Role": "Raoul Volfoni",
            "Type": "Actor",
            "PrimaryImageTag": "991a882933ebdd7ee2da53cc3ba63f01",
            "ImageBlurHashes": {
                "Primary": {
                    "991a882933ebdd7ee2da53cc3ba63f01": "dMELyz%L0LIp~At6IqNGbwt7MxoLx^ofIUt8oIafWXRj"
                }
            }
        },
        {
            "Name": "Francis Blanche",
            "Id": "79b710ca4d0396abaa85c08d4d03d456",
            "Role": "Ma\u00eetre Folace",
            "Type": "Actor",
            "PrimaryImageTag": "db7bdb9ac03441efb8eb4ed7e8c9a94d",
            "ImageBlurHashes": {
                "Primary": {
                    "db7bdb9ac03441efb8eb4ed7e8c9a94d": "dcHLl3_3xu%M~q%M-;%M%Mxu%Mt7t7ofofRjIUNFofxu"
                }
            }
        },
        {
            "Name": "Claude Rich",
            "Id": "d94775e0a73a0cc80dac62096af504d3",
            "Role": "Antoine Delafoy",
            "Type": "Actor",
            "PrimaryImageTag": "30fb855011dd97bdbaa14435ee337b7d",
            "ImageBlurHashes": {
                "Primary": {
                    "30fb855011dd97bdbaa14435ee337b7d": "deJG[]%20fR*=_s:%foft,W;Vro0kpkDWXWBW;j[n%j["
                }
            }
        },
        {
            "Name": "Pierre Bertin",
            "Id": "b77a4ae9e30b26a15f2cf99df24c80b2",
            "Role": "Adolphe Am\u00e9d\u00e9e Delafoy",
            "Type": "Actor",
            "PrimaryImageTag": "36679f32a6a749017eb49bcb643ec817",
            "ImageBlurHashes": {
                "Primary": {
                    "36679f32a6a749017eb49bcb643ec817": "deI|q6-p0fRQ%1xaWBWBFxbbjFWBRjRkR+azIpWB$*of"
                }
            }
        },
        {
            "Name": "Jean Lefebvre",
            "Id": "7d532bd14c27aef8aa4c2e5fac7fff3f",
            "Role": "Paul Volfoni",
            "Type": "Actor",
            "PrimaryImageTag": "f0dfe42ed29ecf58859fddc03af4bd71",
            "ImageBlurHashes": {
                "Primary": {
                    "f0dfe42ed29ecf58859fddc03af4bd71": "dNFhL|~C0#57veVsI:g3ACS$nNRPJBR+%Mx]nOn%j?M|"
                }
            }
        },
        {
            "Name": "Sabine Sinjen",
            "Id": "06a63c8660a03ad1153ba9ee5c9ae2f6",
            "Role": "Patricia, la fille de Louis \"le Mexicain\"",
            "Type": "Actor",
            "PrimaryImageTag": "eb004652eaeaaba4de084e08f11f9dc2",
            "ImageBlurHashes": {
                "Primary": {
                    "eb004652eaeaaba4de084e08f11f9dc2": "dRF#{wfR^*-oRkNGxtj[oft6ofj[~Voft6xaE2ay9aRk"
                }
            }
        },
        {
            "Name": "Robert Dalban",
            "Id": "68f180d15731b609282662b80d4b2626",
            "Role": "Jean, le majordome",
            "Type": "Actor",
            "PrimaryImageTag": "4adf11b2be14937e0973ef5cc201d44d",
            "ImageBlurHashes": {
                "Primary": {
                    "4adf11b2be14937e0973ef5cc201d44d": "dIDl{3t7M{t700xuWBM{_3WB%M%MD%WBt7Rjofj[oft7"
                }
            }
        },
        {
            "Name": "Horst Frank",
            "Id": "f7987d9e59ea47ea2d8a967e2b0b88ac",
            "Role": "Th\u00e9o",
            "Type": "Actor",
            "PrimaryImageTag": "cb2647ed082c28db4c54cf04bd2b77dc",
            "ImageBlurHashes": {
                "Primary": {
                    "cb2647ed082c28db4c54cf04bd2b77dc": "dRGR#a-pIU-;s:ofR*D%0KM{M{IUozxut7-pxaxu%Mja"
                }
            }
        },
        {
            "Name": "Venantino Venantini",
            "Id": "2d52c502b9fec3ea8f86fd73fe67d277",
            "Role": "Pascal",
            "Type": "Actor",
            "PrimaryImageTag": "b4dcc0bf524b18cdaa15117aeae10098",
            "ImageBlurHashes": {
                "Primary": {
                    "b4dcc0bf524b18cdaa15117aeae10098": "dOI#x_-;~q-;~q%M%MayxuM{IUj[?bay%Mt7%MRjxuay"
                }
            }
        },
        {
            "Name": "Mac Ronay",
            "Id": "05d961a234fba09239131f17c8e6cbb1",
            "Role": "Bastien",
            "Type": "Actor",
            "PrimaryImageTag": "391c774fb094f751f7d2329cc59f1e17",
            "ImageBlurHashes": {
                "Primary": {
                    "391c774fb094f751f7d2329cc59f1e17": "d8CjCKxu00M{W=M{_3of9FM{Rj-;-;-:oz9FNGRj?b%2"
                }
            }
        },
        {
            "Name": "Jacques Dumesnil",
            "Id": "962c91ef2fdca9a0dc35d28c8f252b3b",
            "Role": "Louis \u00ab le Mexicain \u00bb",
            "Type": "Actor",
            "PrimaryImageTag": "443afb4edfd1f1d41d13493f083593c3",
            "ImageBlurHashes": {
                "Primary": {
                    "443afb4edfd1f1d41d13493f083593c3": "dHC%8HIU4nM{ofxuofIU00%MRjxuD%WB%MxuofD*%Mof"
                }
            }
        },
        {
            "Name": "Paul Mercey",
            "Id": "c92c277d92956d1c977c9fc4abe4ed07",
            "Role": "Henri",
            "Type": "Actor",
            "PrimaryImageTag": "5dea271ff2c6244069507286f48ddc0b",
            "ImageBlurHashes": {
                "Primary": {
                    "5dea271ff2c6244069507286f48ddc0b": "dQIE|gIUM{-;~qxuIU-;%MRjt7ofxuWBxut7xuj[ofof"
                }
            }
        },
        {
            "Name": "Dominique Davray",
            "Id": "2728a2a9ee551ebaca5f22b9d5817f26",
            "Role": "Madame Mado",
            "Type": "Actor",
            "PrimaryImageTag": "e2df9031b960dd0ba7066c6d7f34ed67",
            "ImageBlurHashes": {
                "Primary": {
                    "e2df9031b960dd0ba7066c6d7f34ed67": "ddG[[{M{D%M{00%Mt7t7xuRjayRjIURj%MRjRjt7WBxu"
                }
            }
        },
        {
            "Name": "Henri Cogan",
            "Id": "ab9e15f9b7184dc4cf47b1a2e960ba9f",
            "Role": "Freddy",
            "Type": "Actor",
            "PrimaryImageTag": "8db648bcf7b02f02be5b244123bbc40f",
            "ImageBlurHashes": {
                "Primary": {
                    "8db648bcf7b02f02be5b244123bbc40f": "dQF5]a~qt7xuayt7xuxu9FM{WBWBWBWBM{M{M{M{WBay"
                }
            }
        },
        {
            "Name": "Georges Lautner",
            "Id": "ce5c563eec18aaa36154728360918940",
            "Role": "Director",
            "Type": "Director",
            "PrimaryImageTag": "71be4d33cf9e093643272962cf71ba71",
            "ImageBlurHashes": {
                "Primary": {
                    "71be4d33cf9e093643272962cf71ba71": "dQJ7%Y-oFf_N-O%Mj?aJt,NFR5R*?bxttRtSt5s:Mxs9"
                }
            }
        },
        {
            "Name": "Georges Lautner",
            "Id": "ce5c563eec18aaa36154728360918940",
            "Role": "Dialogue",
            "Type": "Writer",
            "PrimaryImageTag": "71be4d33cf9e093643272962cf71ba71",
            "ImageBlurHashes": {
                "Primary": {
                    "71be4d33cf9e093643272962cf71ba71": "dQJ7%Y-oFf_N-O%Mj?aJt,NFR5R*?bxttRtSt5s:Mxs9"
                }
            }
        },
        {
            "Name": "Michel Audiard",
            "Id": "c7ff77bd886f6a3b25ad5826859c6a44",
            "Role": "Writer",
            "Type": "Writer",
            "PrimaryImageTag": "2d070b8c435f912002f6a361bd51bca9",
            "ImageBlurHashes": {
                "Primary": {
                    "2d070b8c435f912002f6a361bd51bca9": "dGD9-f-;9FM{~qt7jsof?bxuRPRj-;M{IUWB%MM{IURj"
                }
            }
        },
        {
            "Name": "Albert Simonin",
            "Id": "6cda3766a1c5296df2e88e0ae67b876f",
            "Role": "Novel",
            "Type": "Writer",
            "PrimaryImageTag": "449e6e9e6f78f945514499b01f44cc18",
            "ImageBlurHashes": {
                "Primary": {
                    "449e6e9e6f78f945514499b01f44cc18": "dIF68|Rj~q?b?bxuofayM{-;t7M{_3t7_3t7_3-;M{of"
                }
            }
        },
        {
            "Name": "Alain Poir\u00e9",
            "Id": "3848075e0adf07b834f9fcb53acf29bb",
            "Role": "Producer",
            "Type": "Producer",
            "PrimaryImageTag": "da52a18c8ee5888ccec538b7ee0fa86a",
            "ImageBlurHashes": {
                "Primary": {
                    "da52a18c8ee5888ccec538b7ee0fa86a": "dTGk5s?a0}NHnhIUMyniAaXSxabHM{nhs9j[I;ofxGo0"
                }
            }
        },
        {
            "Name": "Robert Sussfeld",
            "Id": "6e558f2da96481dacf229f347c45384d",
            "Role": "Producer",
            "Type": "Producer",
            "ImageBlurHashes": {
                "Primary": {}
            }
        },
        {
            "Name": "Ir\u00e9n\u00e9e Leriche",
            "Id": "e6fc89d6df89613a36bea0dcc1bfc780",
            "Role": "Producer",
            "Type": "Producer",
            "ImageBlurHashes": {
                "Primary": {}
            }
        }
    ],
    "Studios": [
        {
            "Name": "Corona Filmproduktion",
            "Id": "d0399ed015a1fa15128de65099c6f59c"
        },
        {
            "Name": "Gaumont",
            "Id": "203320ddd87d8fd40cd154df04add95e"
        },
        {
            "Name": "Ultra Film - Sicila Cinematografica",
            "Id": "13c93ac8fcb01e13b940aa163a123c6f"
        }
    ],
    "GenreItems": [
        {
            "Name": "Comedy",
            "Id": "08d31605d366d63a7a924f944b4417f1"
        },
        {
            "Name": "Crime",
            "Id": "83a9dab21914792744c8fb23b9925dc6"
        },
        {
            "Name": "French",
            "Id": "cc0f778a106f77f990edbb41f7b9d647"
        },
        {
            "Name": "Gangsters",
            "Id": "aa9afe19e28f8c1c2bca07cba0ac1c1d"
        }
    ],
    "LocalTrailerCount": 0,
    "UserData": {
        "PlaybackPositionTicks": 0,
        "PlayCount": 0,
        "IsFavorite": false,
        "Played": false,
        "Key": "25253"
    },
    "SpecialFeatureCount": 0,
    "DisplayPreferencesId": "dbf7709c41faaa746463d67978eb863d",
    "Tags": [
        "\ud83c\udf0d France",
        "\ud83c\udf0d Germany",
        "\ud83c\udf0d Italy"
    ],
    "PrimaryImageAspectRatio": 0.6666666666666666,
    "MediaStreams": [
        {
            "Codec": "hevc",
            "Language": "fre",
            "TimeBase": "1/1000",
            "Title": "HEVC-H265",
            "VideoRange": "SDR",
            "VideoRangeType": "SDR",
            "AudioSpatialFormat": "None",
            "DisplayTitle": "HEVC-H265 - 1080p - SDR",
            "IsInterlaced": false,
            "IsAVC": false,
            "BitRate": 6394177,
            "BitDepth": 8,
            "RefFrames": 1,
            "IsDefault": true,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 1080,
            "Width": 1920,
            "AverageFrameRate": 24,
            "RealFrameRate": 24,
            "Profile": "Main",
            "Type": "Video",
            "AspectRatio": "16:9",
            "Index": 0,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "PixelFormat": "yuv420p",
            "Level": 120,
            "IsAnamorphic": false
        },
        {
            "Codec": "dts",
            "Language": "fre",
            "TimeBase": "1/1000",
            "Title": "DTS-HD Master Audio 2.0",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "DisplayTitle": "DTS-HD Master Audio 2.0 - Fre - Stereo - Default",
            "IsInterlaced": false,
            "IsAVC": false,
            "ChannelLayout": "stereo",
            "BitRate": 1241837,
            "BitDepth": 24,
            "Channels": 2,
            "SampleRate": 48000,
            "IsDefault": true,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Profile": "DTS-HD MA",
            "Type": "Audio",
            "Index": 1,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "Level": 0
        },
        {
            "Codec": "ac3",
            "Language": "fre",
            "TimeBase": "1/1000",
            "Title": "AC-3 Dolby Digital 2.0",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "DisplayTitle": "AC-3 Dolby Digital 2.0 - Fre - Stereo",
            "IsInterlaced": false,
            "IsAVC": false,
            "ChannelLayout": "stereo",
            "BitRate": 192000,
            "Channels": 2,
            "SampleRate": 48000,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Type": "Audio",
            "Index": 2,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "Level": 0
        },
        {
            "Codec": "subrip",
            "Language": "eng",
            "TimeBase": "1/1000",
            "Title": "English (SRT)",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "LocalizedUndefined": "Undefined",
            "LocalizedDefault": "Default",
            "LocalizedForced": "Forced",
            "LocalizedExternal": "External",
            "LocalizedHearingImpaired": "Hearing Impaired",
            "DisplayTitle": "English (SRT) - SUBRIP",
            "IsInterlaced": false,
            "IsAVC": false,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 0,
            "Width": 0,
            "Type": "Subtitle",
            "Index": 3,
            "IsExternal": false,
            "IsTextSubtitleStream": true,
            "SupportsExternalStream": true,
            "Level": 0
        },
        {
            "Codec": "DVDSUB",
            "Language": "fre",
            "TimeBase": "1/1000",
            "Title": "Fran\u00e7ais (VobSub)",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "LocalizedUndefined": "Undefined",
            "LocalizedDefault": "Default",
            "LocalizedForced": "Forced",
            "LocalizedExternal": "External",
            "LocalizedHearingImpaired": "Hearing Impaired",
            "DisplayTitle": "Fran\u00e7ais (VobSub) - Fre - DVDSUB",
            "IsInterlaced": false,
            "IsAVC": false,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 1080,
            "Width": 1920,
            "Type": "Subtitle",
            "Index": 4,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "Level": 0
        },
        {
            "Codec": "mjpeg",
            "ColorSpace": "bt470bg",
            "TimeBase": "1/90000",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "IsInterlaced": false,
            "IsAVC": false,
            "BitDepth": 8,
            "RefFrames": 1,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 1500,
            "Width": 1000,
            "RealFrameRate": 90000,
            "Profile": "Baseline",
            "Type": "EmbeddedImage",
            "Index": 5,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "PixelFormat": "yuvj444p",
            "Level": -99,
            "IsAnamorphic": false
        }
    ],
    "VideoType": "VideoFile",
    "ImageTags": {
        "Primary": "1d57a470ac67aeceabea90eaf8fa3a2f",
        "Logo": "024e44e4d35483314046fa9ed93de9fd"
    },
    "BackdropImageTags": [
        "63a584c2a384466d498302cdd45557a7"
    ],
    "ImageBlurHashes": {
        "Backdrop": {
            "63a584c2a384466d498302cdd45557a7": "WaEo[IxuIU%MofWB~qofRjxut7fQ-;t7ayRjRjof%MofayRjRjof"
        },
        "Primary": {
            "1d57a470ac67aeceabea90eaf8fa3a2f": "dcIgu=MyWYs:0LxZxYV@%KxtR,WWR%NHIpof58bFs+xa"
        },
        "Logo": {
            "024e44e4d35483314046fa9ed93de9fd": "OcL:lBNKRmj[oexYj@?wR-R+a#f7oLfQ.Aa#WDa#WDWEj@"
        }
    },
    "Chapters": [
        {
            "StartPositionTicks": 26350000,
            "Name": "Chapter 01",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 1931130000,
            "Name": "Chapter 02",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 4923740000,
            "Name": "Chapter 03",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 10229830000,
            "Name": "Chapter 04",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 12495040000,
            "Name": "Chapter 05",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 15728090000,
            "Name": "Chapter 06",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 20595480000,
            "Name": "Chapter 07",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 26174170000,
            "Name": "Chapter 08",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 29657220000,
            "Name": "Chapter 09",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 32200700000,
            "Name": "Chapter 10",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 36685910000,
            "Name": "Chapter 11",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 39625910000,
            "Name": "Chapter 12",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 44311570000,
            "Name": "Chapter 13",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 48792000000,
            "Name": "Chapter 14",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 54502430000,
            "Name": "Chapter 15",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 58906350000,
            "Name": "Chapter 16",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 63178960000,
            "Name": "Chapter 17",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        },
        {
            "StartPositionTicks": 66881130000,
            "Name": "Chapter 18",
            "ImageDateModified": "0001-01-01T00:00:00.0000000Z"
        }
    ],
    "Trickplay": {},
    "LocationType": "FileSystem",
    "MediaType": "Video",
    "LockedFields": [
        "Name",
        "Overview",
        "Genres",
        "OfficialRating",
        "Cast",
        "ProductionLocations",
        "Studios",
        "Tags"
    ],
    "LockData": false,
    "Width": 1920,
    "Height": 1080
}



RE: API - RemoteTrailers does not get updated - niels - 2024-08-08

(2024-08-07, 09:26 PM)segovid Wrote: Well in that case, it might be good to update API documentation:
currently it says it is possible
POST / Updates an item / (extract):
RemoteTrailers  / Array of objects or null (MediaUrl) - Gets or sets the trailer urls.

It doesn't state remote trailers are updatable, it just reuses the same baseitemdto type used in many places, which is done to make it easier to GET, edit and then POST again.