Skip to content

Commit 25ad59f

Browse files
committed
update exported version
1 parent b61cfbe commit 25ad59f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/audio_segment/tarteel.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ def export_json_files
5454

5555
export_gapless_recitation_segments(recitation, reciter_dir)
5656
export_gapless_recitation_audio_files(recitation, reciter_dir)
57+
58+
if resource_content = recitation.get_resource_content
59+
resource_content.set_meta_value('exported-version', Time.now.to_i)
60+
resource_content.save
61+
end
5762
end
5863

5964
master_zip = "#{file_path}.zip"

0 commit comments

Comments
 (0)