Code: Select all
file = locally exported tags file .dat
file.read().decode('utf-16le')
the problem is when i edit a tag and save it to an modified.dat file :
Code: Select all
file_modified.write(updated_content.encode('utf-16le'))
I hope i can directly write to the main tags.dat file somehow...
as of now , it seems i would need to write to a separate .txt file the PATH + TAG and use xy-script to import&update the tags