Add data items to make comparison easier

This commit is contained in:
tcely 2024-12-22 11:46:29 -05:00 committed by GitHub
parent 495f62f25a
commit 8a04139da9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -582,6 +582,8 @@ class MediaItemView(DetailView):
data['video_exact'] = video_exact
data['video_format'] = video_format
data['youtube_dl_format'] = self.object.get_format_str()
data['filename_path'] = pathlib.Path(self.object.filename)
data['media_file_path'] = pathlib.Path(self.object.media_file.path) if self.object.media_file else None
return data