TechZ Bots
رفتن به کانال در Telegram
Join To Get Latest Updates About Our Projects Github : https://github.com/TechShreyash Support Group : @TechZBots_Support
نمایش بیشتر1 186
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-27 روز
-1130 روز
آرشیو پست ها
1 186
🔰 TechZMusic Update
- Re-enabled `/playlist` command
- Auto-End Group Music: Music will automatically stop if no stream server is connected
- Stats Fix: Corrected the number of connected users displayed
- Improved Stability: Fixed issues with the skip command and auto song downloader
- Duplicate User Sessions: Resolved issues where the same user joining multiple times caused errors
Important: To avoid connection issues, please do not join TechZMusic with the same account multiple times. Ensure you close any previously connected mini app sessions before opening a new one. Currently, phone users can open multiple sessions of the same mini app simultaneously, which can cause conflicts. Alternatively, you can join TechZMusic with the same account using different devices.
Note: Although I’ve added code to automatically remove previous sessions, this may not always work reliably.
1 186
🔰 TechZMusic Up Again
We're currently addressing issues with YouTube blocking our VPS IPs. Our team is actively working on fixes and improvements for both the bot and the backend API. Please bear with us as we make these updates.
What's New:
- The basic
/play command is now functional.
- The /playlist command is temporarily disabled for maintenance.
🚀 Bot Username: @TechZMusicBot
Thank you for your patience and continued support!1 186
🔰 TechZMusic Beta Update
- Fixed:
/playlist command for better performance.
- New: /playforce command. Instantly plays the requested song, stopping the current track without altering the queue.
🧪 Try it out: Test these features with our Beta Bot at @TechZMusicBetaBot1 186
🔰 TechZMusic Beta Update
- Using cobalt.tools to download songs from youtube
Ytdlp still exists as a fallback if the cobalt api doesnt work
Test this at Beta Bot : @TechZMusicBetaBot
1 186
I created a semi-automatic scraper for the MKV Cinemas website that extracts GDTOT links.
How it works:
- Semi-automatic process: Occasionally, the website requires captcha completion, which needs to be done manually by the user.
- Efficiency: The scraper successfully extracted 4 links in less than 2 minutes.
Source Code: https://gist.github.com/TechShreyash/9c5f5cf0c9e754c11f7dcf7c83870864
1 186
🔮 Tip: Using TechZMusic in Channels
You can share and enjoy songs with your channel users using TechZMusic. Here's how:
1. Create a Private Group: Ensure only you can control the bot and its commands by making the group private.
2. Add TechZMusic Bot: Invite @TechZMusicBot to your group and send commands to start playing music.
3. Generate an Invite Link: Use the
/invite command to get an invite link, then share it in your channel. This way, anyone can listen to the songs playing in the group. Since the group is private, only you can change the songs.
🚀 Bot Username: @TechZMusicBot1 186
🔰 TechZMusic Update
- Pushed beta changes to main bot (refer)
- Bot now validates the user data sent by mini app
- Fixed
/play cmd replied to audio files, now it converts unsupported audio formats to webm
- Added more supported audio formats (list) when replied /play to audio files
- We have two stream apis running, if both of them goes down, bot now sends "no stream servers available" message to user, instead of giving error
- /stats command improved, and can be used by anyone
- Updated bot texts on /start and /help
🚀 Stream Api Update
This uses ytdlp to download songs from youtube, and stores them locally
Due to some unknown reasons in ytdlp, the ram usage keeps on increasing on every song download. I tried some fixed and methods to decrease/remove this but no method can be used for our case. The only thing we can do is to restart the api.
Now the api keeps on checking the ram usage every minute. When it increases above 80%, it sends all connected bots (currently 3) to request a restart of api. The bot then checks if no song is playing / queued from that server, if yes then this status is returned back to bot. When all bots return yes status, then the stream api restarts.
Well if the usage increases above 95 %, api restart automatically. This can cause problem if the api is streaming some song. Even so 95% usage, the api definitely gonna crash anyway.
🚀 Bot Username : @TechZMusicBot1 186
♻️ TechZMusic Beta Update
- Reply /play to a audio file to play that
- Reply /play to a youtube video link to play that (Why?)
- A Mini App UI fix (set a max height of the background image)
- And some other small fixes
Bot : @TechZMusicBetaBot
1 186
♻️ TechZMusic Beta Update
We've made significant changes to how TechZMusic operates, now consisting of two distinct projects:
1. TechZMusic Bot
2. YT-DLP Stream API
These components communicate with each other using Socket.IO to exchange data efficiently.
🚀 Key Changes:
- Interconnected Architecture:
- A bot can now connect to multiple stream APIs, which speeds up file downloads and helps avoid IP bans by YouTube.
- Similarly, the stream API can connect to multiple bots, enhancing flexibility and redundancy.
🔄 Streamlined Requests:
- When a bot requests a song download, it sends the request to a random stream server from the pool. The stream server downloads the song, saves it, and sends the stream URL back to the bot. This URL is then shared with the mini-apps of connected users.
- This process now uses Socket.IO instead of repeated FastAPI polling requests, improving efficiency and reducing latency.
🔗 Simplified Connections:
- The stream server only requires the bot's mini-app URL. It automatically connects to all bots upon starting.
- If an API goes down, all cached URLs from that stream server are removed, allowing the bot to request files from other available stream servers.
🛠 Mini App Fixes:
- Removed duplicate users showing in the mini-app.
- Changed button styles for a better user experience.
We have removed the Piped API that was previously in use.
📢 Test the Beta:
Try out the new beta update at @TechZMusicBetaBot
1 186
♻️ TechZMusic Beta Update
We've made significant changes to how TechZMusic operates, now consisting of two distinct projects:
1. TechZMusic Bot
2. YT-DLP Stream API
These components communicate with each other using Socket.IO to exchange data efficiently.
🚀 Key Changes:
- Interconnected Architecture:
- A bot can now connect to multiple stream APIs, which speeds up file downloads and helps avoid IP bans by YouTube.
- Similarly, the stream API can connect to multiple bots, enhancing flexibility and redundancy.
🔄 Streamlined Requests:
- When a bot requests a song download, it sends the request to a random stream server from the pool. The stream server downloads the song, saves it, and sends the stream URL back to the bot. This URL is then shared with the mini-apps of connected users.
- This process now uses Socket.IO instead of repeated FastAPI polling requests, improving efficiency and reducing latency.
🔗 Simplified Connections:
- The stream server only requires the bot's mini-app URL. It automatically connects to all bots upon starting.
- If an API goes down, all cached URLs from that stream server are removed, allowing the bot to request files from other available stream servers.
🛠 Mini App Fixes:
- Removed duplicate users showing in the mini-app.
- Changed button styles for a better user experience.
We have removed the Piped API that was previously in use.
📢 Test the Beta:
Try out the new beta update at [@TechZMusicBetaBot](https://t.me/TechZMusicBetaBot).
1 186
🔮 YT Stream Api Update
We have hosted our own piped api now. Downloading songs with that is now fast af.
You can test it on @TechZMusicBot
