getwm.py 633 B

123456789101112131415161718192021
  1. import os
  2. from glob import glob
  3. # fullcontainer = 'audiowatermark/armin-van-buuren-old-skool.mp3'
  4. # # fullvideocontainer = 'nifracutout.mp4' # 'out.avi'
  5. # os.system(f"audiowmark get {fullcontainer}")
  6. # print('\n\n')
  7. # os.system(f"videowmark get {fullvideocontainer}")
  8. # listcontainers = ['1after.mp3', '2after.mp3', '1after.ogg'] #['1before.mp3', '2before.mp3', '1ogg_before.ogg']
  9. # for fullcontainer in listcontainers:
  10. # print(f"{fullcontainer}:")
  11. # os.system(f"audiowmark get {fullcontainer}")
  12. # print('\n\n')
  13. filenames = glob("audiowatermark/*.wav")
  14. for container in filenames:
  15. os.system(f"audiowmark get {container}")