Releases: MateusAquino/tweet-music-recognizer
Elvis Has Left The Building
This update means to fix all remaining bugs:
Add:
• Multiple YT Keys (sep by comma)
Fix:
• Disconnect (End of Stream) filter
• Wrong HTTP Codes
• Bad Songs (from .env
) parsing
• Fixed media_url
regex - Would throw an exception on Twitter Amplify Videos (or pre-roll videos)
Back to Square One
This update redraws the whole backend structure and add a few new things:
Add:
• Song replacement for wrong songs (.env
)
• Repeating Media URLs will retweet already recognized song
• Re-stream button (Disconnect fix)
Modified:
• All tokens are now stored inside the DB
Fix:
• Disconnect - Auto re-stream if it reaches End of stream
• Warn spam
Disconnected
This update should avoid randomly disconnecting the stream.
Fixes:
• Now listening to disconnect
response (Disconnect messages).
• Add retry cooldown.
Logging 'n' Spamming
This update should avoid Twitter limiting the app for spamming.
Add:
• New custom random anti-spam messages
• Auto block spamming user (4 reqs in 2 hours)
• Logging endpoint /logs
to check current quota and last 100~200 logs
Remove:
- Mentioning all users in conversation (Now it's only mentioning who mentioned @nomemusica)
Minor fixes:
• FFMPEG will not trim last 5s of the video (except last 2s - reason: tiktok endings), instead of the first 5s.
Cut the Mustart
This update drastically increased the success rate.
Add:
• Shazam (apidojo's) optional, yet suggested, fallback api
↳ FFMPEG required to slice first 5s of the video & convert mp4 to raw 16bit pcm (mono, 44100Hz)
• Multiple Shazam token support (using comma on .env file)
Minor fixes:
• Fixed unwanted .m3u8
download from Twitter videos (now it's restricted to .mp4
)
Quick On the Draw
Add:
• Multiple ACR Key/Secret support (using comma on .env file)
Minor fixes:
• Removed listr logging
• Fixed thrown error when ACR'd fail to recognize the song
Easy As Pie
Basic Workflow:
• Extract tweet's video media url
↳ Download a temporary .mp4
video
↳ Submit temp file to ACRCloud API to extract song's information
↳ Submit "Artist Name - Song Name" to Youtube Data API
↳ Reply tweet with the Song name + Youtube link (card)