Skip to content

Commit

Permalink
Merge pull request #8 from terrelsa13/master
Browse files Browse the repository at this point in the history
Resolve Issue #5 and Resolve Issue #6
  • Loading branch information
clara-j authored Oct 18, 2020
2 parents 9e1b233 + 22ea728 commit b284e85
Show file tree
Hide file tree
Showing 2 changed files with 318 additions and 117 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ The first time you run the script it will attempt to create the config file for

filename: media_cleaner_config.py

* server_url='http://server:8096' - Server url for Emby server
* server_brand=0-emby or 1-jellyfin
* server_url='http://localhost:8096/emby' - Server name or ip address
* admin_username='UserName' - Username for Admin user with access to delete files
* admin_password='Password' - Password for Admin user with access to delete files (hashed password stored)
* access_token='ZZZZZZZZZZZZZ' - Token used to verify admin user actions
* user_key='YYYYYYYYYYYYY' - UserID of the user that script check watched status for
* DEBUG=0 - 0 Do not display extra infor; 1 Display extra info for debuging
* user_key='YYYYYYYYYYYYY' - UserID of the user that script checks watched status for
* DEBUG=0 - 0 Do not display debug info; 1 Display debug info
* not_played_age_movie=100 - How many days to keep a watched movie before deleting; -1 do not delete media type
* not_played_age_episode=100 - How many days to keep a watched episode before deleting; -1 do not delete media type
* not_played_age_video=100 - How many days to keep a watched video before deleting; -1 do not delete media type
* not_played_age_trailer=100 - How many days to keep a watched trailer before deleting; -1 do not delete media type
* remove_files=0 - 0 for trial runs (aka media is not deleted); 1 to allow script to delete media
* ignore_favorites_movie=1 - 1 Ignore movies that have been marked as favorite; 0 Delete movies marked as favorite
* ignore_favorites_episode=1 - 1 Ignore episodes that have been marked as favorite; 0 Delete episodes marked as favorite
* ignore_favorites_video=1 - 1 Ignore videos that have been marked as favorite; 0 Delete videos marked as favorite
* ignore_favorites_trailer=1 - 1 Ignore trailers that have been marked as favorite; 0 Delete trailers marked as favorite
* remove_files=0 - 0 for trial runs (media is not deleted); 1 to allow script to delete media
* keep_favorites_movie=1 - 1 Keep movies that have been marked as favorite; 0 Delete movies marked as favorite
* keep_favorites_episode=1 - 1 Keep episodes, seasons, and series that have been marked as favorite; 0 Delete episodes marked as favorite
* keep_favorites_video=1 - 1 Keep videos that have been marked as favorite; 0 Delete videos marked as favorite
* keep_favorites_trailer=1 - 1 Keep trailers that have been marked as favorite; 0 Delete trailers marked as favorite


# Usage
Expand Down
Loading

0 comments on commit b284e85

Please sign in to comment.