Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ PLEX_SERVER_API_KEY=<plex_server_api_key>
PLEX_SERVER_MOVIE_LIBRARY_ID=<plex_server_movie_library_id>
PLEX_SERVER_TV_SHOW_LIBRARY_ID=<plex_server_tv_show_library_id>
PLEX_SERVER_PATH=<plex_server_path>
PLEX_SERVER_DEFAULT_RATING_KEY=<plex_valid_rating_key>

#-------------------------------------------------------------------------#
# OVERSEERR - WATCHLIST, PLEX AUTHENTICATION, PLEX REQUEST, RECLAIM SPACE #
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- `PLEX_SERVER_MOVIE_LIBRARY_ID`: The library ID for movies on your Plex server.
- `PLEX_SERVER_TV_SHOW_LIBRARY_ID`: The library ID for TV shows on your Plex server.
- `PLEX_SERVER_PATH`: The path to your 'Plex Media Server' folder containing Cache/cert-v2.p12 (e.g., /var/lib/plexmediaserver/Library/Application Support/Plex Media Server).
- `PLEX_SERVER_DEFAULT_RATING_KEY`: Any valid Plex rating key on your server.

- **Overseerr** - Watchlist, Plex Authentication, Plex Request, Reclaim Space:
- `OVERSEERR_HOST`: The host address of your Overseeer instance.
Expand Down
2 changes: 1 addition & 1 deletion plex_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def all():
else:
additionalMetadata['key'] = f"/library/request/{mediaType}/{mediaTypeNum}/{guid}"

additionalMetadata['ratingKey'] = "12065"
additionalMetadata['ratingKey'] = plex['serverDefaultRatingKey']
additionalMetadata['librarySectionTitle'] = "Request Season :" if mediaTypeNum == mediaTypeNums['episode'] else "Request :"
additionalMetadata['librarySectionID'] = libraryId
additionalMetadata['librarySectionKey'] = f"/library/sections/{libraryId}"
Expand Down
1 change: 1 addition & 0 deletions shared/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def stringEnvParser(value):
'serverMovieLibraryId': env.integer('PLEX_SERVER_MOVIE_LIBRARY_ID', default=None),
'serverTvShowLibraryId': env.integer('PLEX_SERVER_TV_SHOW_LIBRARY_ID', default=None),
'serverPath': env.string('PLEX_SERVER_PATH', default=None),
'serverDefaultRatingKey': env.string('PLEX_SERVER_DEFAULT_RATING_KEY', default="12065")
}

overseerr = {
Expand Down
Loading