mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[22] reset edits
This commit is contained in:
parent
de9f3da43d
commit
a08e8b94bf
2 changed files with 2 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.16.2-develop21
|
||||
1.16.2-develop22
|
||||
|
|
|
@ -972,6 +972,7 @@ class MetadataFile(DataFile):
|
|||
for episode in season.episodes():
|
||||
if len(episode.locations) > 0:
|
||||
ep_title, session_date = race.session_info(episode.locations[0], sprint_weekend)
|
||||
edits = {}
|
||||
add_edit("title", episode, value=ep_title)
|
||||
add_edit("originally_available", episode, key="originallyAvailableAt", var_type="date", value=session_date)
|
||||
if self.library.edit_item(episode, f"{season.seasonNumber} Episode: {episode.episodeNumber}", "Season", edits):
|
||||
|
|
Loading…
Reference in a new issue