diff --git a/VERSION b/VERSION index 8ca9b157..4a37edc6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop48 +1.17.3-develop49 diff --git a/docs/config/operations.md b/docs/config/operations.md index f8709c49..8cda5739 100644 --- a/docs/config/operations.md +++ b/docs/config/operations.md @@ -22,7 +22,7 @@ The available attributes for the operations attribute are as follows | `delete_collections_with_less` | Deletes every collection with less than the given number of items.
**Values:** number greater than 0 | | `delete_unmanaged_collections` | Deletes every unmanaged collection
**Values:** `true` or `false` | | `mass_genre_update` | Updates every item's genres in the library to the chosen site's genres
**Values:**
`tmdb`Use TMDb for Genres
`tvdb`Use TVDb for Genres
`imdb`Use IMDb for Genres
`omdb`Use IMDb through OMDb for Genres
`anidb`Use AniDB Tags for Genres
`mal`Use MyAnimeList for Genres
`lock`Lock Genre Field
`unlock`Unlock Genre Field
`remove`Remove all Genres and Lock Field
`reset`Remove all Genres and Unlock Field
| -| `mass_content_rating_update` | Updates every item's content rating in the library to the chosen site's content rating
**Values:**
`mdb`Use MdbList for Content Ratings
`mdb_commonsense`Use Commonsense Rating through MDbList for Content Ratings
`omdb`Use IMDb through OMDb for Content Ratings
`mal`Use MyAnimeList for Content Ratings
`lock`Lock Content Rating Field
`unlock`Unlock Content Rating Field
`remove`Remove Content Rating and Lock Field
`reset`Remove Content Rating and Unlock Field
| +| `mass_content_rating_update` | Updates every item's content rating in the library to the chosen site's content rating
**Values:**
`mdb`Use MdbList for Content Ratings
`mdb_commonsense`Use Commonsense Rating through MDbList for Content Ratings
`mdb_commonsense0`Use Commonsense Rating with Zero Padding through MDbList for Content Ratings
`omdb`Use IMDb through OMDb for Content Ratings
`mal`Use MyAnimeList for Content Ratings
`lock`Lock Content Rating Field
`unlock`Unlock Content Rating Field
`remove`Remove Content Rating and Lock Field
`reset`Remove Content Rating and Unlock Field
| | `mass_original_title_update` | Updates every item's original title in the library to the chosen site's content rating
**Values:**
`anidb`Use AniDB Main Title for Original Titles
`anidb_official`Use AniDB Official Title based on the language attribute in the config file for Original Titles
`mal`Use MyAnimeList Main Title for Original Titles
`mal_english`Use MyAnimeList English Title for Original Titles
`mal_japanese`Use MyAnimeList Japanese Title for Original Titles
`lock`Lock Original Title Field
`unlock`Unlock Original Title Field
`remove`Remove Original Title and Lock Field
`reset`Remove Original Title and Unlock Field
| | `mass_originally_available_update` | Updates every item's originally available date in the library to the chosen site's date
**Values:**
`tmdb`Use TMDb Release Date
`tvdb`Use TVDb Release Date
`omdb`Use IMDb Release Date through OMDb
`mdb`Use MdbList Release Date
`anidb`Use AniDB Release Date
`mal`Use MyAnimeList Release Date
`lock`Lock Originally Available Field
`unlock`Unlock Originally Available Field
`remove`Remove Originally Available and Lock Field
`reset`Remove Originally Available and Unlock Field
| | `mass_audience_rating_update`/
`mass_critic_rating_update`/
`mass_user_rating_update` | Updates every item's audience/critic/user rating in the library to the chosen site's rating
**Values:**
`tmdb`Use TMDb Rating
`imdb`Use IMDb Rating
`trakt_user`Use Trakt User's Personal Rating
`omdb`Use IMDbRating through OMDb
`mdb`Use MdbList Score
`mdb_imdb`Use IMDb Rating through MDbList
`mdb_metacritic`Use Metacritic Rating through MDbList
`mdb_metacriticuser`Use Metacritic User Rating through MDbList
`mdb_trakt`Use Trakt Rating through MDbList
`mdb_tomatoes`Use Rotten Tomatoes Rating through MDbList
`mdb_tomatoesaudience`Use Rotten Tomatoes Audience Rating through MDbList
`mdb_tmdb`Use TMDb Rating through MDbList
`mdb_letterboxd`Use Letterboxd Rating through MDbList
`mdb_myanimelist`Use MyAnimeList Rating through MDbList
`anidb_rating`Use AniDB Rating
`anidb_average`Use AniDB Average
`anidb_score`Use AniDB Review Score
`mal`Use MyAnimeList Score
`lock`Lock Rating Field
`unlock`Unlock Rating Field
`remove`Remove Rating and Lock Field
`reset`Remove Rating and Unlock Field
| diff --git a/modules/config.py b/modules/config.py index 0ebb07ac..bf4d8840 100644 --- a/modules/config.py +++ b/modules/config.py @@ -42,7 +42,7 @@ mass_genre_options = { mass_content_options = { "lock": "Unlock Rating", "unlock": "Unlock Rating", "remove": "Remove and Lock Rating", "reset": "Remove and Unlock Rating", "omdb": "Use IMDb Rating through OMDb", "mdb": "Use MdbList Rating", "mdb_commonsense": "Use Commonsense Rating through MDbList", - "mal": "Use MyAnimeList Rating" + "mdb_commonsense0": "Use Commonsense Rating with Zero Padding through MDbList", "mal": "Use MyAnimeList Rating" } mass_original_title_options = { "lock": "Unlock Original Title", "unlock": "Unlock Original Title", "remove": "Remove and Lock Original Title", "reset": "Remove and Unlock Original Title", diff --git a/modules/operations.py b/modules/operations.py index 43801b2a..538615fd 100644 --- a/modules/operations.py +++ b/modules/operations.py @@ -339,6 +339,8 @@ class Operations: new_rating = mdb_item.content_rating if mdb_item.content_rating else None elif mdb_item and self.library.mass_content_rating_update == "mdb_commonsense": new_rating = mdb_item.commonsense if mdb_item.commonsense else None + elif mdb_item and self.library.mass_content_rating_update == "mdb_commonsense0": + new_rating = f"{mdb_item.commonsense:02}" if mdb_item.commonsense else None elif mal_item and self.library.mass_content_rating_update == "mal": new_rating = mal_item.rating else: