== Changelog ==

= 1.0.7 (9 October 2026) =
* New: Library, Grid, and Search can show a TMDb list. Add `tmdb_type="day"` for today’s trending, `week` for this week, `now_playing` for movies in cinemas or series on the air, `popular`, `top_rated`, or `upcoming`. Example: `[movie_engine_library post_type="movie_engine_movie" tmdb_type="day" limit="16"]`. Only movies and series already imported on the site appear, in the same order as TMDb. The list is saved for one hour, so the page does not call TMDb on every visit.
* New: In the block editor, select the Library, Grid, or Search block. Under Query, choose TMDb list. Leave it on None to keep sorting the titles already on your site.
* Fix: Trending, Top rated, New releases, and Upcoming still sort your own library. Choosing one of those no longer falls back to the newest posts.
* Fix: The TV Series list keeps the real episode total when episodes are added after the season. Later imports update that saved number without counting the whole catalog on every list load.
* New: Content Requests — visitors can ask for a movie or TV series with `[movie_engine_request_form]`. The form can also show on empty search results and in live search when enabled under Movie Engine → Requests → Settings.
* New: Movie Engine → Requests admin — filter by status, search, bulk delete, and mark requests pending, approved, available, or rejected. HTML emails notify admins of new requests and requesters when status changes (optional reply message).
* New: After a title is imported, a matching request can link automatically and move to Available. With Movie Engine Pro, Find content opens Bulk Import with the request prefilled.
* Fix: Form fields and live search use a single focus ring (no stacked outline + shadow).
* New: Library, Grid, and Search can list titles from Available content requests. Add `content_requests="available"`. Example: `[movie_engine_library content_requests="available" limit="20" pagination="true"]`. Only linked (Already added) movies and series appear. Limit and pagination work like a normal library. In the block editor, under Query, choose Content requests → Available (linked).

= 1.0.6 (28 September 2026) =
* Deleting a TV series also removes its seasons and episodes. Deleting a season removes that season’s episodes. Deleting one episode removes only that episode. Restoring from Trash restores the linked items too.
* Fix: Watch Page on small screens keeps server buttons in two columns inside the page. Long server names stay on one line. Slider arrows no longer stick out and create a sideways scroll.
* Fix: Episode page on small screens stacks the series title and season label, keeps the date and runtime on one line, and keeps Add to Watchlist on one line.
* Fix: A slider with no width no longer freezes the page while building dots.

= 1.0.5 (25 September 2026) =
* New: Disable Right Click ads link (Player → Security). When the option is on, a link field appears.
* Right-click, Inspect shortcuts, and an already-open Inspect window send the visitor to that link. If the link is empty, the page stays covered until Inspect is closed.
* Right-click is blocked on the page and on ad slots (header, sidebar, footer, popup, corner, and player ads).
* Fix: External Player URL templates keep placeholders such as `{tmdb_id}` when settings are saved.

= 1.0.4 (24 September 2026) =
* New: Import Images setting (Settings → API) — choose Load from TMDb (remote URLs) or Download to Media Library for movie, TV series, season, and episode posters/stills.
* New: Poster Image URL meta and Media tab field — Featured Image overrides remote URL when set (same pattern as person photos).
* Improved: Frontend poster resolution uses Featured Image → TMDb poster URL → episode still fallback across cards, heroes, player, SEO, widgets, and search.

= 1.0.3 (22 September 2026) =
* New: Person Profile Image URL (TMDb) — import stores a remote URL instead of downloading every actor photo into the Media Library.
* New: Person photo priority — Featured Image first, then TMDb profile URL, then placeholder (single, cards, cast, admin list).
* Fix: Watch Page sidebar no longer prints raw `[movie_engine_ad_sidebar]` when ads are disabled.
* Fix: Admin Persons “Photo” column shows TMDb URL when no Featured Image is set.

= 1.0.2 (20 September 2026) =
* Added Popup ads control with delay, dismiss memory, and optional re-show after close.
* Added Sticky bottom-right ads with minimize strip and optional full close.
* Added Sidebar ad slot (300x250) in Monetization → Ad Slots for Watch Page and `[movie_engine_ad_sidebar]`.
* Added Single Movie layout style: Classic (`/player/`) or Watch Page (inline player).
* Added TMDb Discover helpers for language, country, and genre filters.
* Fixed Container Max Width setting (removed hardcoded 1290px override).
* Fixed Watch Page Player Top ad so only one ad shows above the player.
* Fixed empty or placeholder-only ad codes (e.g. `#`) so they are not rendered.

= 1.0.1 (03 April 2026) =
* Movie Engine Library — full library with filters, layouts, and pagination options.
* Movie Engine Grid — movie/series grid without the search UI.
* Movie Engine Search — library with search enabled.
* Movie Engine Search Bar — standalone search bar.
* Movie Engine Live Search — live search experience.
* Movie Engine Hero — hero section for featured content.
* Movie Engine Person List — cast/crew and person archives.
* Movie Engine User Menu — user account menu for the header.
* Movie Engine Taxonomies — genres, years, tags, and other term grids or sliders.
* Grid & spacing gap now applies to the card grid (library, person list, taxonomies shortcodes).
* Update The Pot File


= 1.0.0 (17 March 2026) =
* Initial release
* TMDb Smart Import integration
* Advanced OTT Player (HLS & DASH)
* Season & Episode management
* User dashboard & engagement system
* JSON-LD Schema integration
