mirror of
https://github.com/SoPat712/BeReal-Export-Manager.git
synced 2025-08-21 18:28:46 -04:00
add bts memories
This commit is contained in:
7
main.py
7
main.py
@@ -151,6 +151,13 @@ def export_memories(memories: json):
|
|||||||
export_img(old_img_name, img_name, memory_dt, i['location'])
|
export_img(old_img_name, img_name, memory_dt, i['location'])
|
||||||
else:
|
else:
|
||||||
export_img(old_img_name, img_name, memory_dt)
|
export_img(old_img_name, img_name, memory_dt)
|
||||||
|
if 'btsMedia' in i and 'location' in i:
|
||||||
|
export_img("./Photos/post/" + get_img_filename(i['btsMedia']),
|
||||||
|
"%s/%s.mp4" % (out_path_memories, memory_dt.strftime('%Y-%m-%d_%H-%M-%S')),
|
||||||
|
memory_dt, i['location'])
|
||||||
|
if 'btsMedia' in i:
|
||||||
|
export_img("./Photos/post/" + get_img_filename(i['btsMedia']),
|
||||||
|
"%s/%s.mp4" % (out_path_memories, memory_dt.strftime('%Y-%m-%d_%H-%M-%S')), memory_dt)
|
||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
printProgressBar(n+1, memory_count, prefix="Exporting Memories", suffix=("- " + memory_dt.strftime("%Y-%m-%d")), printEnd='\n')
|
printProgressBar(n+1, memory_count, prefix="Exporting Memories", suffix=("- " + memory_dt.strftime("%Y-%m-%d")), printEnd='\n')
|
||||||
|
Reference in New Issue
Block a user