Releases: terrelsa13/MUMC
Releases · terrelsa13/MUMC
MUMC v4.1.24
Updates
2023-07-29
- Various bug fixes
2023-04-01
- Remove beta from version number
- Remove version number from branch name
2023-03-05
- Fixed error in get_users_and_libraries() builder
- Add safeguards to dectect
when user_keys
,user_bl_libs
, oruser_wl_libs
are empty - Update text to not show True/False for valid
DEBUG
values - Start putting in functions for config version checking
- Fix bug in behavioral patterns function where only first instance of media item was being removed from the delete list instead of all instances
2023-02-11
- Fix errors when
DEBUG=4
and media items deleted
2023-02-09
- Fix bug only affecting Emby
- Replace all type() with isinstance()
- Minor function updates
2023-01-26
- Filter Statements updated - A simple way to tell the script how to find media items taking up your disk space.
- Introducing Behavioral Statements - A simple way to tell the script how to delete media items found with the Filter Statement.
- Increase
api_query_cache_size
maximum size from 1000MB to 10000MB - Increase
api_query_cache_size
default value to 32MB - Cleanup favorites and tagged functions
- Rewrite
get_media_items()
- Change
*_set_missing_last_played_date
to boolean - Remove
0
as valid value forplayed_filter_*
played count
MUMC Features
- Monitor the accessible libraries of multiple users
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Configure Filter Statements to tell the script how to find media items taking up your disk space
- Configure Behavioral Statements to keep or delete media in these categories depending on user play patterns
- Favorites
- Advanced Favorites
- Whitetagged
- Blacktagged
- Whitelisted
- Blacklisted
- Favorites
- Keep a minimum number of played episodes to remain in all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Keep a minimum number of episodes to remain for all TV Series'
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Pass in an alternate configuration file from the command line with the -c option
- Media item play count shown for each user
- Update console output to show version numbers, OS, and timestamps
- Updates to debug logging
- Edit an existing configuration file
- Add new users
- Edit existing users
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Do not want to see user headers; disable user headers
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
- URL Caching
- Cache added to cut down on sending repeat queries to the server
- Configure cache size
- Configure cache fallback behavior
- Configure cache entry's last accessed time
MUMC v4.1.18-beta
Updates
2023-02-11
- Fix errors when
DEBUG=4
and media items deleted
2023-02-09
- Fix bug only affecting Emby
- Replace all type() with isinstance()
- Minor function updates
2023-01-26
- Filter Statements updated - A simple way to tell the script how to find media items taking up your disk space.
- Introducing Behavioral Statements - A simple way to tell the script how to delete media items found with the Filter Statement.
- Increase
api_query_cache_size
maximum size from 1000MB to 10000MB - Increase
api_query_cache_size
default value to 32MB - Cleanup favorites and tagged functions
- Rewrite
get_media_items()
- Change
*_set_missing_last_played_date
to boolean - Remove
0
as valid value forplayed_filter_*
played count
MUMC Features
- Monitor the accessible libraries of multiple users
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Configure Filter Statements to tell the script how to find media items taking up your disk space
- Configure Behavioral Statements to keep or delete media in these categories depending on user play patterns
- Favorites
- Advanced Favorites
- Whitetagged
- Blacktagged
- Whitelisted
- Blacklisted
- Favorites
- Keep a minimum number of played episodes to remain in all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Keep a minimum number of episodes to remain for all TV Series'
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Pass in an alternate configuration file from the command line with the -c option
- Media item play count shown for each user
- Update console output to show version numbers, OS, and timestamps
- Updates to debug logging
- Edit an existing configuration file
- Add new users
- Edit existing users
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Do not want to see user headers; disable user headers
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
- URL Caching
- Cache added to cut down on sending repeat queries to the server
- Configure cache size
- Configure cache fallback behavior
- Configure cache entry's last accessed time
MUMC v4.1.20-beta
Updates
2023-03-05
- Fixed error in get_users_and_libraries() builder
- Add safeguards to dectect
when user_keys
,user_bl_libs
, oruser_wl_libs
are empty - Update text to not show True/False for valid
DEBUG
values - Start putting in functions for config version checking
- Fix bug in behavioral patterns function where only first instance of media item was being removed from the delete list instead of all instances
2023-02-11
- Fix errors when
DEBUG=4
and media items deleted
2023-02-09
- Fix bug only affecting Emby
- Replace all type() with isinstance()
- Minor function updates
2023-01-26
- Filter Statements updated - A simple way to tell the script how to find media items taking up your disk space.
- Introducing Behavioral Statements - A simple way to tell the script how to delete media items found with the Filter Statement.
- Increase
api_query_cache_size
maximum size from 1000MB to 10000MB - Increase
api_query_cache_size
default value to 32MB - Cleanup favorites and tagged functions
- Rewrite
get_media_items()
- Change
*_set_missing_last_played_date
to boolean - Remove
0
as valid value forplayed_filter_*
played count
MUMC Features
- Monitor the accessible libraries of multiple users
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Configure Filter Statements to tell the script how to find media items taking up your disk space
- Configure Behavioral Statements to keep or delete media in these categories depending on user play patterns
- Favorites
- Advanced Favorites
- Whitetagged
- Blacktagged
- Whitelisted
- Blacklisted
- Favorites
- Keep a minimum number of played episodes to remain in all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Keep a minimum number of episodes to remain for all TV Series'
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Pass in an alternate configuration file from the command line with the -c option
- Media item play count shown for each user
- Update console output to show version numbers, OS, and timestamps
- Updates to debug logging
- Edit an existing configuration file
- Add new users
- Edit existing users
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Do not want to see user headers; disable user headers
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
- URL Caching
- Cache added to cut down on sending repeat queries to the server
- Configure cache size
- Configure cache fallback behavior
- Configure cache entry's last accessed time
MUMC v3.3.6
Updates
2023-01-05
- Notification v3.x.x support is ending 2023 March 01st
- Recommend moving to v4.x.x
- Typo in get_minEpisodesToKeep() causing user with the lowest played/unplayed pattern to always be chosen
2023-01-03
- Fix errors printing when deleting; cache no longer handling DELETE and POST methods
- Do not track whitelisted media items if item is blacklisted
- Add -config as alternate config command
2022-12-06
- Allow float for cache size
- Add total sum or bytes removed for the cache
- Add total sum of bytes the cache has or is storing
- Bug Fix for libraries not hiding when selected for user
2022-12-05
- Pass in alternate config file via command line
- Linux/Mac
- /path/to/python3.x /path/to/mumc.py -c /path/to/alternate_config.py
- Windows
- C:\path\to\python3.x C:\path\to\mumc.py -c C:\path\to\alternate_config.py
- Linux/Mac
- Add
multiuser_play_days_*
to allow controlling when media is deleted based on ALL or ANY monitored users meeting*_played_days
- SPEED BOOST (aka FIFO RAM cache for API queries)
- Specify size of cache in config
- Set
DEBUG=3
cache details written to the end of themumc_DEBUG.log
- Timestamp printed out in the beginning and end of script execution
MUMC Features
- SPEED BOOST!
- Cache added to cut down on sending repeat queries to the server
- Configure cache size
- Pass in an alternate configuration file from the command line with the -c option
- Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Keep a minimum number of episodes to remain for all TV Series'
- Fix configuration editor to allow editing multiple existing users during a single run
- Decided if media items are deleted when ANY or ALL users meet the play count
- Decided if media items are deleted when ANY or ALL users meet the played days
- Media item play count shown for each user
- Update console output to show version numbers, OS, and timestamps
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Advanced Favorites - Same as Favorites but for specific attributes
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.3.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Do not want to see user headers; disable user headers
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
Full Changelog: v3.2.0...v3.3.6
MUMC v3.3.5
Updates
2023-01-03
- Fix errors printing when deleting; cache no longer handling DELETE and POST methods
- Do not track whitelisted media items if item is blacklisted
- Add -config as alternate config command
2022-12-06
- Allow float for cache size
- Add total sum or bytes removed for the cache
- Add total sum of bytes the cache has or is storing
- Bug Fix for libraries not hiding when selected for user
2022-12-05
- Pass in alternate config file via command line
- Linux/Mac
- /path/to/python3.x /path/to/mumc.py -c /path/to/alternate_config.py
- Windows
- C:\path\to\python3.x C:\path\to\mumc.py -c C:\path\to\alternate_config.py
- Linux/Mac
- Add
multiuser_play_days_*
to allow controlling when media is deleted based on ALL or ANY monitored users meeting*_played_days
- SPEED BOOST (aka FIFO RAM cache for API queries)
- Specify size of cache in config
- Set
DEBUG=3
cache details written to the end of themumc_DEBUG.log
- Timestamp printed out in the beginning and end of script execution
MUMC Features
- SPEED BOOST!
- Cache added to cut down on sending repeat queries to the server
- Configure cache size
- Pass in an alternate configuration file from the command line with the -c option
- Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Keep a minimum number of episodes to remain for all TV Series'
- Fix configuration editor to allow editing multiple existing users during a single run
- Decided if media items are deleted when ANY or ALL users meet the play count
- Decided if media items are deleted when ANY or ALL users meet the played days
- Media item play count shown for each user
- Update console output to show version numbers, OS, and timestamps
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Advanced Favorites - Same as Favorites but for specific attributes
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.3.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Do not want to see user headers; disable user headers
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
Full Changelog: v3.2.0...v3.3.5
MUMC v3.3.1
Updates
2022-12-06
- Allow float for cache size
- Add total sum or bytes removed for the cache
- Add total sum of bytes the cache has or is storing
- Bug Fix for libraries not hiding when selected for user
2022-12-05
- Pass in alternate config file via command line
- Linux/Mac
- /path/to/python3.x /path/to/mumc.py -c /path/to/alternate_config.py
- Windows
- C:\path\to\python3.x C:\path\to\mumc.py -c C:\path\to\alternate_config.py
- Linux/Mac
- Add
multiuser_play_days_*
to allow controlling when media is deleted based on ALL or ANY monitored users meeting*_played_days
- SPEED BOOST (aka FIFO RAM cache for API queries)
- Specify size of cache in config
- Set
DEBUG=3
cache details written to the end of themumc_DEBUG.log
- Timestamp printed out in the beginning and end of script execution
MUMC Features
- SPEED BOOST!
- Cache added to cut down on sending repeat queries to the server
- Configure cache size
- Pass in an alternate configuration file from the command line with the -c option
- Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Keep a minimum number of episodes to remain for all TV Series'
- Fix configuration editor to allow editing multiple existing users during a single run
- Decided if media items are deleted when ANY or ALL users meet the play count
- Decided if media items are deleted when ANY or ALL users meet the played days
- Media item play count shown for each user
- Update console output to show version numbers, OS, and timestamps
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Advanced Favorites - Same as Favorites but for specific attributes
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.3.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Do not want to see user headers; disable user headers
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
Full Changelog: v3.2.0...v3.3.1
MUMC v3.3.0
Updates
2022-12-05
- Pass in alternate config file via command line
- Linux/Mac
- /path/to/python3.x /path/to/mumc.py -c /path/to/alternate_config.py
- Windows
- C:\path\to\python3.x C:\path\to\mumc.py -c C:\path\to\alternate_config.py
- Linux/Mac
- Add
multiuser_play_days_*
to allow controlling when media is deleted based on ALL or ANY monitored users meeting*_played_days
- SPEED BOOST (aka FIFO RAM cache for API queries)
- Specify size of cache in config
- Set
DEBUG=3
cache details written to the end of themumc_DEBUG.log
- Timestamp printed out in the beginning and end of script execution
MUMC Features
- Introducing Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all tv series'
- Fix configuration editor to allow editing multiple existing users during a single run
- All max_age configuration variables have been removed
- The same behavior can be achieved with Filter Statements, using created statements
- Decided if media items are deleted when ANY or ALL users meet the play count
- Media item play count shown for each user
- Update console output to show version number and timestamp
- Usernames added to user_bl_libs and user_wl_libs config variables
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Movies
- Episodes/Seasons/Series
- Audio Tracks/Albums
- Audiobooks/Books
- Advanced Favorites
- Genres
- Artists
- Studio Networks
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Keep a minimum number of episodes for all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.3.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Add levels to debug logging
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
Full Changelog: v3.2.0...v3.3.0
MUMC v3.2.11
Updates
- Allow script to gracefully handle episodes without a valid season number when
minimum_number_episodes
is >0 and/orminimum_number_played_episodes
is >0. - Fix issue with appending output to debug file.
MUMC Features
- Introducing Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all tv series'
- Fix configuration editor to allow editing multiple existing users during a single run
- All max_age configuration variables have been removed
- The same behavior can be achieved with Filter Statements, using created statements
- Decided if media items are deleted when ANY or ALL users meet the play count
- Media item play count shown for each user
- Update console output to show version number and timestamp
- Usernames added to user_bl_libs and user_wl_libs config variables
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Movies
- Episodes/Seasons/Series
- Audio Tracks/Albums
- Audiobooks/Books
- Advanced Favorites
- Genres
- Artists
- Studio Networks
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Keep a minimum number of episodes for all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.x.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Add levels to debug logging
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
Full Changelog: v3.2.0...v3.2.11
MUMC v3.2.9
Updates
- Allow script to gracefully handle episodes without a valid season number when
minimum_number_episodes
is >0 and/orminimum_number_played_episodes
is >0.
MUMC Features
- Introducing Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all tv series'
- Fix configuration editor to allow editing multiple existing users during a single run
- All max_age configuration variables have been removed
- The same behavior can be achieved with Filter Statements, using created statements
- Decided if media items are deleted when ANY or ALL users meet the play count
- Media item play count shown for each user
- Update console output to show version number and timestamp
- Usernames added to user_bl_libs and user_wl_libs config variables
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Movies
- Episodes/Seasons/Series
- Audio Tracks/Albums
- Audiobooks/Books
- Advanced Favorites
- Genres
- Artists
- Studio Networks
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Keep a minimum number of episodes for all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.x.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Add levels to debug logging
- Allow script to automatically create a last played date for played media items missing their last played date attribute
*_set_missing_last_played_date
Full Changelog: v3.2.0...v3.2.9
MUMC v3.2.7
Updates
- Add feature to handle
LastPlayedDate
not being populated when importing played states from Trakt- Configuration variables
*_set_missing_last_played_date=1
by default
- Configuration variables
MUMC Features
- Introducing Filter Statements - A simple way to tell the script how to find and delete the media items taking up your disk space:
- Delete movies played at least 60 days ago with a play count == 1.
- Delete movies created at least 365 days ago with a play count <= 1.
- Delete episodes played at least 30 days ago with a play count not > 1.
- Delete episodes created at least 180 days ago with a play count < 2.
- There are many possibilities!
- Keep a minimum number of played episodes to remain in all tv series'
- Fix configuration editor to allow editing multiple existing users during a single run
- All max_age configuration variables have been removed
- The same behavior can be achieved with Filter Statements, using created statements
- Decided if media items are deleted when ANY or ALL users meet the play count
- Media item play count shown for each user
- Update console output to show version number and timestamp
- Usernames added to user_bl_libs and user_wl_libs config variables
- Updates to debug logging
- Monitor the accessible libraries of multiple users
- Favorites - Used to keep media items that would otherwise be deleted
- Movies
- Episodes/Seasons/Series
- Audio Tracks/Albums
- Audiobooks/Books
- Advanced Favorites
- Genres
- Artists
- Studio Networks
- Blacklist(s)
- Whitelist(s)
- Blacktag(s)
- Whitetag(s)
- Choose how script performs media item to library matching
- Match media items to libraries by:
- Library ID
- Library Path
- Library Network Path
- Match media items to libraries by:
- Keep a minimum number of episodes for all TV Series'
- This ensures the "Next Up" functionality works when a new episode is available
- Edit an existing configuration file
- Add new users
- Edit existing users
- Configuration file must have been created using v3.x.x
- Stay in 'dry-run' mode until the script is configured exactly the way you need it
- Control output printed to the console/terminal
- Only want to see the Delete Summary for Movies; disable everything except the Movie Deleted Summary
- Add levels to debug logging
Full Changelog: v3.2.0...v3.2.7