Skip to content

v1.3.11 - Sidebar, routing & simulate fix

Choose a tag to compare

@ZL154 ZL154 released this 05 Apr 16:14
· 288 commits to main since this release

v1.3.11 - Sidebar, routing & simulate fix

Fixed

  • Sidebar injection — sidebar.js and standalone.js are now served via new API endpoint (/Plugins/AchievementBadges/client-script/{name}) and injected into document.head when the plugin page loads. They persist across Jellyfin route changes.
  • Achievements sidebar entry — Added EnableInMainMenu=true so Jellyfin natively adds 'Achievements' to the sidebar under Plugin Settings without requiring File Transformation.
  • #!/achievements routing — standalone.js hash-change listener now loads correctly after first visit to the plugin config page.
  • Simulate playback error — standalone.js was sending simulate-playback as GET instead of POST. Fixed.
  • Auth on standalone page — standalone.js now uses window.ApiClient for authenticated requests (same as the config page) instead of unauthenticated bare fetch.
  • navinject.js URL — was pointing to non-existent page name 'achievementdashboard', now correctly points to 'achievementbadges'.