delete metadata when a media item is reset, related to #226
This commit is contained in:
parent
d0a214e21b
commit
0c347d523d
|
@ -630,6 +630,7 @@ class MediaSkipView(FormView, SingleObjectMixin):
|
||||||
# If the media has an associated NFO file with it, also delete it
|
# If the media has an associated NFO file with it, also delete it
|
||||||
delete_file(self.object.nfopath)
|
delete_file(self.object.nfopath)
|
||||||
# Reset all download data
|
# Reset all download data
|
||||||
|
self.object.metadata = None
|
||||||
self.object.downloaded = False
|
self.object.downloaded = False
|
||||||
self.object.downloaded_audio_codec = None
|
self.object.downloaded_audio_codec = None
|
||||||
self.object.downloaded_video_codec = None
|
self.object.downloaded_video_codec = None
|
||||||
|
|
Loading…
Reference in New Issue