mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Add data items to make comparison easier
This commit is contained in:
parent
495f62f25a
commit
8a04139da9
@ -582,6 +582,8 @@ class MediaItemView(DetailView):
|
|||||||
data['video_exact'] = video_exact
|
data['video_exact'] = video_exact
|
||||||
data['video_format'] = video_format
|
data['video_format'] = video_format
|
||||||
data['youtube_dl_format'] = self.object.get_format_str()
|
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
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user