Skip to content

Commit

Permalink
Save proper description when no ID specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Oct 3, 2024
1 parent 2dadab5 commit 6e6fb05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ async def update_metadata_from_tracker(self, tracker_name, tracker_instance, met

# Retrieve PTP description and image list
ptp_desc, ptp_imagelist = await tracker_instance.get_ptp_description(ptp_torrent_id, meta, meta.get('is_disc', False))
meta['description'] = ptp_desc
meta['skip_gen_desc'] = True

if not meta.get('image_list'): # Only handle images if image_list is not already populated
valid_images = await self.check_images_concurrently(ptp_imagelist, meta)
Expand Down

0 comments on commit 6e6fb05

Please sign in to comment.