Files
tmdb-addon/addon/server.js
T
mrcanelas e9185e5126 feat: add option to hide episode thumbnails to prevent spoilers
- Added hideEpisodeThumbnails toggle in configuration page
- Implemented image blur endpoint using Sharp
- Added configuration option in addon URL
- Modified getEpisodes to support blurred thumbnails
- Added blur processing for episode preview images

The feature allows users to enable thumbnail blurring to avoid potential
spoilers from episode preview images. When enabled, all episode thumbnails
are processed through a blur filter before being displayed.

Changes:
- New configuration option in Others.tsx
- New image processing utility in utils/imageProcessor.js
- Modified getEpisodes.js to handle blurred thumbnails
- Added blur endpoint in index.js
- Updated config types and URL generation

Closes #89
2025-03-07 17:26:01 -03:00

7 lines
204 B
JavaScript

const addon = require('./index.js')
const PORT = process.env.PORT || 1337;
addon.listen(PORT, function () {
console.log(`Addon active on port ${PORT}.`);
console.log(`http://127.0.0.1:${PORT}/`);
});