added syncing after update title meta

This commit is contained in:
CronyAkatsuki 2021-07-03 11:07:57 +02:00
parent 151f79d3ee
commit c732e50a4f

2
adl.py
View File

@ -117,6 +117,7 @@ def update_title(title, episode):
custom = color_prommpt("Enter updated episode number: ") custom = color_prommpt("Enter updated episode number: ")
if custom != "": if custom != "":
os.system('trackma -a ' + account + ' update "' + title + '" ' + custom) os.system('trackma -a ' + account + ' update "' + title + '" ' + custom)
os.system('trackma -a' + account + 'send')
else: else:
color_print("Skipping updating...") color_print("Skipping updating...")
@ -126,6 +127,7 @@ def update_score(title, score):
custom = color_prommpt("Enter updated score: ") custom = color_prommpt("Enter updated score: ")
if custom != "": if custom != "":
os.system('trackma -a ' + account + ' score "' + title + '" ' + custom) os.system('trackma -a ' + account + ' score "' + title + '" ' + custom)
os.system('trackma -a' + account + 'send')
else: else:
color_print("Skipping updating...") color_print("Skipping updating...")