Skip to content

Commit

Permalink
Add deprecation warning to plex webhook source
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Oct 24, 2024
1 parent 3cc735b commit 51074a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/sources/PlexSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ export default class PlexSource extends AbstractSource {
} else {
this.logger.info(`Initializing with the following filters => Users: ${this.users.length === 0 ? 'N/A' : this.users.join(', ')} | Libraries: ${this.libraries.length === 0 ? 'N/A' : this.libraries.join(', ')} | Servers: ${this.servers.length === 0 ? 'N/A' : this.servers.join(', ')}`);
}

this.logger.warn('Plex WEBHOOK source is DEPRECATED! Please switch to Plex API Source as soon as possible.');
}

static formatPlayObj(obj: any, options: FormatPlayObjectOptions = {}): PlayObject {
Expand Down

0 comments on commit 51074a5

Please sign in to comment.