When placeholders are cleaned up because real content arrived, Plex
wasn't notified and ghost entries remained in the library. This adds:
- New emptyTrash() method to PlexAPI
- Fire-and-forget scan + empty trash after placeholder cleanup
- New autoEmptyTrash setting (default: true) with UI toggle
- Setting in Plex settings page with "advanced" badge
The scan runs in the background so it doesn't block the sync process.
Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
adds new source 'Plex Library' with Auto Director and Auto Actor collection sub-types, option to configure minimum items. utilises smart collections. adds new poster template. adds separators option.
---------
Co-authored-by: Tom Wheeler <thomas.wheeler.tcw@gmail.com>
adds migrations for collection and item metadata tables. posters (items + collections), wallpapers,
and themes now have a hash calculated based on their variables. adds check before generating poster,
comparing metadata slug to stored slug from previous sync, if both hash and slug are equal, then
generation/upload is skipped. will significantly reduce bloat from repeated uploads, and reduces
poster overlays re-run time significantly (e.g. 45 mins to 18 mins)
re #144
background/wallpaper can now be added to the config form which will be uploaded to plex during sync,
alongside file theme (music) for collections, and text summary
fix#63
Adds new feature for Poster Overlays, create overlays in the editor under Posters -> Poster Overlays
with variables and conditions, and select which libraries the overlays should apply to
fix#144, re #115, re #128
A new collection sub-type 'Recently Added' has been added under Coming Soon. This will create a
smart collection that is identical to the default Plex recently added collection, but without the
coming soon placeholder items
re #115
Adds new "Coming Soon" collection type, with options for Monitored in Sonarr/Radarr or Trakt
Anticipated. If a media file doesn't exist (unreleased TV Shows and Movies), a placeholder file will
be added (trailer if available). Poster overlays are added depending on its availability and
monitored status. Options for number of days to look ahead and number of days to keep item in
collection after release date. After this period the poster is reset. The placeholder file is
removed when an actual file gets added by Sonarr/Radarr.
fix#115
Initially collectionMode was used to hide the base collection in the library tab, but turns out Plex
propogates the settings from the base collection to the smart collection, and vice versa, so the
smart collection got hidden as well.
add new option in config form to show unwatched items only, which creates a smart collection in plex
with the unwatched filter based off the normal collection
fix#51
During label refresh if a collection was removed from agregarr its label was reset and would
therefore be treated as a pre-existing collection and not be deleted