Skip to content

ther3zz/PlexContentRatingUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This python scripts allows you to mass edit the content rating of all media in a library.

Option Required Description Example
--plex_url Yes The URL of your Plex server. http://your-plex-server:32400
--plex_token Yes The API token for authenticating with your Plex server. your-plex-token
--library_id Yes The ID of the Plex library you want to modify. 1
--new_content_rating Yes The new content rating to set for all media items in the library. PG-13
--debug No Enables debug mode to print detailed logs for troubleshooting. --debug
--auto_confirm No Automatically confirms the changes without prompting the user, useful for automated operations. --auto_confirm

Example Usage Scenarios

  1. Run with Default Confirmation Prompt:

    python update_plex_ratings.py --plex_url http://your-plex-server:32400 --plex_token your-plex-token --library_id 1 --new_content_rating PG-13
    
    
  2. Run with Debug Mode:

    python update_plex_ratings.py --plex_url http://your-plex-server:32400 --plex_token your-plex-token --library_id 1 --new_content_rating PG-13 --debug
    
    
    
  3. Run without confirmation prompt (automated mode):

    python update_plex_ratings.py --plex_url http://your-plex-server:32400 --plex_token your-plex-token --library_id 1 --new_content_rating PG-13 --auto_confirm
    

About

Updates all the media in the set plex library to a new rating

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages