Browse Source

fix plex collection sync (#1939)

pull/1940/head
Jason Dove 6 months ago committed by GitHub
parent
commit
5465c45a51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 2
      ErsatzTV.Infrastructure/Plex/Models/PlexCollectionMetadataResponse.cs
  3. 2
      ErsatzTV.Infrastructure/Plex/PlexEtag.cs
  4. 4
      ErsatzTV.sln

2
CHANGELOG.md

@ -23,6 +23,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -23,6 +23,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix displaying playout item durations that are greater than 24 hours
- Fix building playouts when playlist has been changed to have fewer items
- Fix selecting audio stream with preferred title
- Fix synchronizing Plex collections
- If this breaks collection sync for you, you will need to update your Plex server
## [0.8.8-beta] - 2024-09-19
### Added

2
ErsatzTV.Infrastructure/Plex/Models/PlexCollectionMetadataResponse.cs

@ -26,5 +26,5 @@ public class PlexCollectionMetadataResponse @@ -26,5 +26,5 @@ public class PlexCollectionMetadataResponse
public int LibrarySectionId { get; set; }
[XmlAttribute("childCount")]
public string ChildCount { get; set; }
public int ChildCount { get; set; }
}

2
ErsatzTV.Infrastructure/Plex/PlexEtag.cs

@ -305,7 +305,7 @@ public class PlexEtag @@ -305,7 +305,7 @@ public class PlexEtag
bw.Write(response.UpdatedAt);
// collection child count
bw.Write(response.ChildCount ?? "0");
bw.Write(response.ChildCount);
// collection is smart collection
bw.Write(response.Smart ?? "0");

4
ErsatzTV.sln

@ -37,8 +37,8 @@ Global @@ -37,8 +37,8 @@ Global
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Release|Any CPU.Build.0 = Release|Any CPU
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Debug No Sync|Any CPU.ActiveCfg = Debug|Any CPU
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Debug No Sync|Any CPU.Build.0 = Debug|Any CPU
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Debug No Sync|Any CPU.ActiveCfg = Debug No Sync|Any CPU
{E83551AD-27E4-46E5-AD06-5B0DF797B8FF}.Debug No Sync|Any CPU.Build.0 = Debug No Sync|Any CPU
{C56FC23D-B863-401E-8E7C-E92BC307AFC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C56FC23D-B863-401E-8E7C-E92BC307AFC1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C56FC23D-B863-401E-8E7C-E92BC307AFC1}.Release|Any CPU.ActiveCfg = Release|Any CPU

Loading…
Cancel
Save