mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[23] use jpg for overlays
This commit is contained in:
parent
5987a992bb
commit
50d7fe0bf7
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.2-develop22
|
||||
1.17.2-develop23
|
||||
|
|
|
@ -317,8 +317,8 @@ class Overlays:
|
|||
else:
|
||||
overlay_box = current_overlay.get_coordinates((canvas_width, canvas_height), box=current_overlay.image.size, new_cords=cord)
|
||||
new_poster.paste(current_overlay.image, overlay_box, current_overlay.image)
|
||||
temp = os.path.join(self.library.overlay_folder, f"temp.png")
|
||||
new_poster.save(temp, "PNG")
|
||||
temp = os.path.join(self.library.overlay_folder, f"temp.jpg")
|
||||
new_poster.save(temp)
|
||||
self.library.upload_poster(item, temp)
|
||||
self.library.edit_tags("label", item, add_tags=["Overlay"], do_print=False)
|
||||
self.library.reload(item, force=True)
|
||||
|
|
Loading…
Reference in a new issue