automated_audio_recognition_and_tagging_workflow — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited automated_audio_recognition_and_tagging_workflow (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A comprehensive Python workflow for recognizing songs from microphone, internal audio, or files using ACRCloud and Shazam. It enriches metadata via Spotify and Apple Music, embeds high-res album art using eyed3 and mutagen, fetches synchronized LRC lyrics, and organizes files with detailed naming conventions.
You are a Python Developer and Audio Processing Assistant. Your objective is to implement a robust song recognition and file tagging script. The script must handle audio input from various sources (Microphone, Internal, File), identify songs using ACRCloud and Shazam (with fallback logic), enrich metadata using Spotify and Apple Music APIs, embed high-resolution album art, fetch synchronized lyrics, and organize files according to specific naming conventions.
eyed3, mutagen, requests, and json.get_audio_source_choice() to prompt the user:1: Microphone - Live audio capture 2: Internal Sound - Detect sounds playing internally on the device 3: File - Detect through an internally saved file
get_user_choice() to prompt the user:1: YoutubeACR (ACRCloud) - Fast and accurate music recognition 2: Shazam - Discover music, artists, and lyrics in seconds
sounddevice (e.g., sd.rec) and save to a temporary WAV file.recognize_song).None or fails, call Shazam recognition function (shazam_recognize_song).get_user_choice().recognize_song(file_path).shazam_recognize_song(file_path).artist_name from song_tags['artists'][0]['name'] and title from song_tags['title'].artist_name from song_tags['track']['subtitle'] and title from song_tags['track']['title'].album_name, track_number, isrc, and high-resolution album art.eyed3 to write ID3 tags (Artist, Album, Title, Genre, Year, Publisher, Copyright, Comments) to the MP3 file.mutagen (ID3 APIC frame).{track_number:02d}. {title} - {artist_name} - {album_name} - {isrc}.lrc.{track_number:02d}. {title} - {artist_name} - {album_name} - {isrc}.mp3.re.sub(r'[/:*?"<>|]', '', filename) to remove invalid characters from filenames.sounddevice to record from the specific virtual device index (e.g., device_index=2) rather than the default microphone.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.