Releases: danrahn/MarkerEditorForPlex
Marker Editor v2.8.0-beta.2
v2.8.0-beta.2 2024-10-20
HTTPS, baseUrl, and refactoring
Changelog
All changes: v2.8.0-beta...v2.8.0-beta.2
New
- Add HTTPS support, with either PEM or PFX-based certificates (7e421c1).
- Add some basic rate limiting (dbf9abb).
- Add support for a
baseUrl
(224f6c8). This is helpful for e.g. reverse proxies that forwardhost:80/markerEdit
tohost:3232
. - Allow configurable host/port in Docker (currently untested) (f24eb37).
Fixed
- Pause/restart/shutdown commands could be triggered by an unauthenticated user when authentication is enabled (16c8a75).
Refactoring
- Refactor server config files (c8f6e7c).
- Change how tooltips are tracked (deaae37).
- Overhaul my homegrown element building system (deaae37).
Dev
- Nexe doesn't support ESM modules, so they must be copied into the external node_modules folder like sqlite3. This broke the 2.8.0-beta binaries (d4b664b).
Marker Editor v2.8.0-beta
v2.8.0-beta 2024-10-06
⚠️ Binaries are broken. This release can only be run from source ⚠️
Support ad markers and single user authentication
Changelog
All changes: v2.7.1...v2.8.0-beta
New
- Add the ability to manage ad/commercial markers (79e962f), and add some basic tests (fa997cf)
- Add the ability to require a username/password to access the app (af125ec), and integrate it into CLI-based setup (29b462c). See the commit message for more details on exactly what this entails.
Fixed
- Switching between light and dark mode required a refresh to apply properly.
- Database schema version wasn't properly recorded after upgrading from version 6 to 7.
- The server could crash if a
ServerError
was thrown with an invalid HTML error code.
Tweaked
- Try to keep the server settings dialog's 'Apply' and 'Cancel' buttons in view, only scrolling the settings themselves.
- Use number inputs in the server settings dialog for inputs that are numbers.
- Don't
await
responses inserverMain
, as that was forcing the application to wait for one request to finish before processing another one. While this could be nice behavior for some operations to prevent race conditions, for the most part it just slows down the loading of resources. - When using keyboard shortcuts to adjust marker offsets, if the change crosses between positive and negative offsets, always stop at '0' and '-0'. E.g. subtracting one second from "0.5" would first stop at 0,
then go to -0, then -1000 instead of immediately jumping to "-0.5. (55bdd75)
Dev
- Refactor the build process to support multiple root files, as this is no longer a single-page site (index.html), it's now a two-page site (index.html and login.html).
Marker Editor v2.7.1
v2.7.1 2024-07-28
Track re-added markers and minor UI tweaks.
Changelog
All changes: v2.7.0...v2.7.1
New
- Track markers re-added by Plex after analysis and allow them to be re-deleted. See the wiki for more information (c6284b3, 7c0c4a7).
- NOTE: This feature has not been heavily tested.
- Move marker breakdown chart to 'More' menu (17f7015).
- Move purged marker check to Section Options header, and only show it if purged markers are detected (0435e0c).
- Various minor UI adjustments (070ee42).
- Bump node.js base to 20.16.0 for built binaries.
Fixed
- Overlays could display incorrectly if shown in quick succession (17f7015).
- Fix config setup in Docker (149ada5).
- Fix first-time setup validation (c5311f1).
Refactoring/Code Maintenance
- Remove 'inc' style subfolder (f158e6f).
Dev
- Faster initial page load:
- Embed core styles into index.html so the core layout is immediately available.
- Use webpack to minify and consolidate client-side JS, reducing the size and number of requests needed to load the application (built binaries only) (ef6de82).
- Use cache busting for JS/CSS/SVGs to allow for browser-side caching (built binaries only) (ef6de82, e051b4e).
Marker Editor v2.7.0
v2.7.0 2024-05-18
Improved first run experience, more keyboard navigation, significant refactoring, and more.
Changelog (Since v2.6.4)
All changes: v2.6.4...v2.7.0
New
- Allow server settings to be edited in the browser (49c6e88).
- Under client settings, add a 'Server Settings' button that opens a new dialog with all available server settings.
- First Run Experience - if no config file is found and the default host:port is open, start the server and launch an undismissible settings dialog, only falling back to the command line setup if localhost:3232 is not available.
- Similar to the first run experience, if there's an invalid config value on load, allow the server to start, but show the settings dialog.
- Add additional arrow key navigation in the main view. See Navigation Shortcuts for details (24b1b60).
- Add a long-press events for touch devices (NOTE: these seem to mostly work, but have some rough edges)
- Long-press a movie/episode row to expand/contract all marker tables (7f4f44c).
- Make marker thumbnails available outside of edit mode (cf9d755).
- Add an image button in the marker table that shows/hides thumbnails, similar to edit mode.
- Ctrl+Click and longpress shows/hides all thumbnails in the marker table. Ctrl+Shift+Click shows/hides all thumbnails in visible marker tables.
- Add some basic CLI options (
--version
and--help
) (71a887d, 9ff8281).- Allow arguments to be passed directly to binaries. E.g. instead of requiring
./MarkerEditor -- --help
, direct./MarkerEditor --help
to./MarkerEditor -- -help
.(a61d26c).
- Allow arguments to be passed directly to binaries. E.g. instead of requiring
Fixed
- Fix broken sticky setting initialization (ae948e6).
- Fix macOS data directory check (42a74a8).
- Fix shrinking error thumbnails on smaller screens (71a887d).
- Fix marker type alignment, fix overlay close button hitbox, and replace HTML arrows with an SVG arrow, as not all browsers properly display the HTML entity (11b1722).
- Ensure tooltip stays within the viewport bounds on small screens (7f4f44c).
smallScreenCached
might not be initialized to the correct value (cf9d755).- Marker export could fail if the Plex database had unexpected markers (3d0a0ed).
Tweaked
- Adjust custom checkboxes to better indicate when they're checked/unchecked, and use them everywhere instead of just in the settings dialog (#23, ec7eb8c).
- Slightly more robust database path handling (e1326e1).
- More adjustments for small screens - use abbreviated dates, use a smaller font, and remove percentages (replaced with an info icon) (11b1722).
- Shorten "Date Added" column header to "Added" when the screen is small (7f4f44c).
- Replace the help icon with the info icon in some places (7f4f44c).
- Update result row marker breakdown display when screen size changes (7f4f44c).
- Several adjustments to result row
flex
behavior/alignment (7f4f44c). - Setting client-side log level no longer affects server-side log level (49c6e88).
- Adjust VersionManager to account for numbered alpha/beta releases (5f3c94f).
- For click events, treat the meta key as ctrl, since macOS treats Ctrl+Click as right click (d99c7b3, 623166f).
- Clicking a tooltip dismisses it (mainly relevant for touch-based devices) (8c9e429).
- Many more minor adjustments
Refactoring/Code Maintenance
- Major refactoring of client-side code to remove circular dependencies (8e51de7, 5963af9, a5aab25, f129e07, af39557, fb3d3ea, 8119454, and ce76d8b).
- Break up ResultRow into individual class files (22deb02, 326493e, dd247e8, e640eab, 8112795, 83f0ff7, 9ebcdba, d91525d, ac8572c, 32c78cf).
- Use ImportMap/jsconfig to clean up some imports (6d63805, 8ff82da).
- Minor cleanup of MarkerBreakdown.js (1eb03d2).
- Split thumbnail handling out of MarkerEdit and into its own class to be shared with non-edit thumbnails (cf9d755).
- Completely rework POST handling/endpoint registration (49c6e88).
- Formalize Tooltip options and move it all within the Tooltip class so consumers don't have to know what specific classes/attributes to add to the tooltip (49c6e88).
Dev
Marker Editor v2.7.0-beta.2
Marker Editor v2.7.0-beta.1
v2.7.0-beta.1 2024-04-29
Hotfix that fixes the first run experience that was broken during refactoring.
Known Issues
- Chapter-based bulk add and database import are broken. The issue has been resolved (f150ab7), and will be available in the next release.
Changelog
Fixed (3f93595)
- The wrong config validation endpoint was whitelisted, resulting in users unable to validate configurations on first run.
- When validating path mappings, keep the default if there aren't any user-provided mappings, so we don't write empty mappings to the config file.
- Soft-reloading the server after initial setup was broken because the action wasn't allowed in
RunningWithoutConfig
mode. - The server would be in a broken state if the user's initial setup didn't require a server reload (e.g. keeping all default values).
Marker Editor v2.7.0-beta
v2.7.0-beta 2024-04-28
Improved first run experience, more keyboard navigation, significant refactoring, and more.
Changelog
New
- Allow server settings to be edited in the browser (49c6e88).
- Under client settings, add a 'Server Settings' button that opens a new dialog with all available server settings.
- First Run Experience - if no config file is found and the default host:port is open, start the server and launch an undismissible settings dialog, only falling back to the command line setup if localhost:3232 is not available.
- Similar to the first run experience, if there's an invalid config value on load, allow the server to start, but show the settings dialog.
- Add additional arrow key navigation in the main view. See MarkerTable.js for details (24b1b60).
- Add a long-press events for touch devices (NOTE: these seem to mostly work, but have some rough edges)
- Long-press a movie/episode row to expand/contract all marker tables (7f4f44c).
- Make marker thumbnails available outside of edit mode (cf9d755).
- Add an image button in the marker table that shows/hides thumbnails, similar to edit mode.
- Ctrl+Click and longpress shows/hides all thumbnails in the marker table. Ctrl+Shift+Click shows/hides all thumbnails in visible marker tables.
- Add some basic CLI options (
--version
and--help
). For binaries,--
must be passed first, e.g../MarkerEditor -- --help
(71a887d, 9ff8281).
Fixed
- Fix broken sticky setting initialization (ae948e6).
- Fix macOS data directory check (42a74a8).
- Fix shrinking error thumbnails on smaller screens (71a887d).
- Fix marker type alignment, overlay close button hit replace HTML arrows with an SVG arrow, as not all browserse properly display the HTML entity (11b1722).
- Ensure tooltip stays within the viewport bounds on small screens (7f4f44c).
smallScreenCached
might not be initialized to the correct value (cf9d755).
Tweaked
- Adjust custom checkboxes to better indicate when they're checked/unchecked, and use them everywhere instead of just in the settings dialog (#23, ec7eb8c).
- Slightly more robust database path handling (e1326e1).
- More adjustments for small screens - use abbreviated dates, use a smaller font, and remove percentages (replaced with an info icon) (11b1722).
- Shorten "Date Added" column header to "Added" when the screen is small (7f4f44c).
- Replace the help icon with the info icon in some places (7f4f44c).
- Update result row marker breakdown display when screen size changes (7f4f44c).
- Several adjustments to result row
flex
behavior/alignment (7f4f44c). - Setting client-side log level no longer affects server-side log level (49c6e88).
- Many more minor adjustments
Refactoring/Code Maintenance
- Major refactoring of client-side code to remove circular dependencies (8e51de7, 5963af9, a5aab25, f129e07, af39557, fb3d3ea, 8119454, and ce76d8b).
- Break up ResultRow into individual class files (22deb02, 326493e, dd247e8, e640eab, 8112795, 83f0ff7, 9ebcdba, d91525d, ac8572c, 32c78cf).
- Use ImportMap/jsconfig to clean up some imports (6d63805, 8ff82da).
- Minor cleanup of MarkerBreakdown.js (1eb03d2).
- Split thumbnail handling out of MarkerEdit and into its own class to be shared with non-edit thumbnails (cf9d755).
- Completely rework POST handling/endpoint registration (49c6e88).
- Formalize Tooltip options and move it all within the Tooltip class so consumers don't have to know what specific classes/attributes to add to the tooltip (49c6e88).
Dev
Marker Editor for Plex v2.6.4
v2.6.4 2024-03-08
Miscellaneous bug fixes and improvements.
Changelog
New
- Pre-built packages for Linux and Mac.
- Add an option to force index-based chapter matching for Bulk Add (074f5c6).
- Add the concept of "sticky" settings - allow the user to choose whether their options in bulk operations and individual marker adds persist across the session, or multiple sessions (a163250).
- Better Plex data directory detection (977b70f).
- New
pathMappings
configuration option (see wiki) (15d0785, 7f5c35a, 4109e6b). - Add arm64 Docker target.
Fixed
- Ensure dock mode toggle and help button scroll out of view (19f6673).
- Fix broken chapter parsing on PMS >= 1.40.0 (e0f8fae).
- Ensure restarting/paused/shutdown overlays can't be dimissed (098194b).
- Fix broken
user_created
flag in backup database (f37b2fd). - Don't attempt to display empty season titles (cd8eeb3).
- Fix broken tests (33d89be).
- Bulk add apply type description could be incorrect if sticky settings are enabled (eb0b63a).
Tweaked
- Adjust logging of media items in backup database that aren't in the Plex database (94112a5).
- Use new JSON format in PMS >= 1.40.0 for chapter parsing if available (e0f8fae).
- Some small screen optimizations (though this is still far from mobile-friendly) (e367674).
- Don't include show name in episode title on small screens (85ffe17).
- Trim whitespace from user-supplied paths during First Run experience (251fff1, a3d0674).
- Tweak "markers without media items" message (72c1c22).
Marker Editor for Plex v2.6.4-beta
v2.6.4-beta 2024-02-22
Miscellaneous bug fixes and improvements.
Changelog
New
- Add an option to force index-based chapter matching for Bulk Add (074f5c6).
- Add the concept of "sticky" settings - allow the user to choose whether their options in bulk operations and individual marker adds persist across the session, or multiple sessions (a163250).
Fixed
- Ensure dock mode toggle and help button scroll out of view (19f6673).
- Fix broken chapter parsing on PMS >= 1.40.0 (e0f8fae).
- Ensure restarting/paused/shutdown overlays can't be dimissed (098194b).
- Fix broken
user_created
flag in backup database (f37b2fd).
Tweaked
Marker Editor for Plex v2.6.3
v2.6.3 2023-12-19
Address Plex database schema changes.
PMS 1.40.0.7775 changed all extra_data
columns in the database from url-encoded values to JSON. Add logic to check whether markers are using the new JSON format and use that if needed, falling back to the old method if existing markers aren't using JSON.
Changelog
Fixed
- Use new
extra_data
JSON format if needed when adding markers to the database (980d49a).