Video Title Silverriot Silver Riot Videos Fix -
print(f"Fixed len(fixed_log)//2 videos. Check silverriot_fix_log.txt") fix_silverriot_titles(r"D:\Your_Video_Folder")
Struggling with mislabeled, corrupted, or incorrectly indexed video titles mentioning "SilverRiot" or "Silver Riot"? You are not alone. video title silverriot silver riot videos fix
Get-ChildItem -Recurse -Include *.mp4, *.mkv, *.mov | Where-Object $_.Name -like "*SilverRiot*" -or $_.Name -like "*Silver Riot*" | ForEach-Object $newName = $_.Name -replace "[^\w\s\.-]", "" -replace "SilverRiot", "SilverRiot_Fixed" Rename-Item -Path $_.FullName -NewName $newName print(f"Fixed len(fixed_log)//2 videos
exiftool -Title="Silver Riot - Final Cut" -Description="SilverRiot gameplay highlights" yourvideo.mp4 To remove all existing metadata before writing new: Get-ChildItem -Recurse -Include *
for dirpath, dirnames, filenames in os.walk(root_dir): for f in filenames: if f.lower().endswith(video_extensions): filepath = os.path.join(dirpath, f) # Check for SilverRiot / Silver Riot in name if re.search(r'silver\s*riot', f, re.IGNORECASE): # Fix filename: replace spaces, remove bad chars new_name = re.sub(r'[^\w\s\.-]', '', f) new_name = new_name.replace('Silver Riot', 'SilverRiot_Fixed') new_name = new_name.replace('SilverRiot', 'SilverRiot_Fixed') new_path = os.path.join(dirpath, new_name) if filepath != new_path: os.rename(filepath, new_path) fixed_log.append(f"Renamed: f -> new_name") # Fix embedded metadata using exiftool try: subprocess.run([ 'exiftool', '-overwrite_original', f'-Title=new_name.replace(".mp4","")', f'-Description=SilverRiot content - fixed', new_path ], check=True) fixed_log.append(f"Metadata fixed: new_name") except: fixed_log.append(f"FAILED metadata: new_name")
# Write log with open('silverriot_fix_log.txt', 'w') as log: log.write('\n'.join(fixed_log))