Added additional new line in the edit summary to fully hide spoilers in hide_episode_spoilers.py

This commit is contained in:
assaflerman 2023-08-25 19:16:34 +03:00 committed by GitHub
parent c30850673a
commit 82dd5c94bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ def modify_episode_artwork(plex, rating_key, image=None, blur=None, summary_pref
if summary_prefix and not episode.summary.startswith(summary_prefix): if summary_prefix and not episode.summary.startswith(summary_prefix):
# Use a zero-width space (\u200b) for blank lines # Use a zero-width space (\u200b) for blank lines
episode.editSummary(summary_prefix + '\n\u200b\n' + episode.summary) episode.editSummary(summary_prefix + '\n\u200b\n\u200b\n' + episode.summary)
# Refresh metadata for the episode # Refresh metadata for the episode
episode.refresh() episode.refresh()