🚀 TechZMusic Update
- Some bug fixes and code improvements
- /end cmd fixed
- /playlist cmd message text fix
Now There Are Two TechZMusic Bots
Main Bot : @TechZMusicBot
You can use this in your groups, i promise not to push any dumb updates before testing it.
Beta Testing Bot : @TechZMusicBetaBot
For testing new features, it will get updated frequently.
- Some bug fixes and code improvements
- /end cmd fixed
- /playlist cmd message text fix
Now There Are Two TechZMusic Bots
Main Bot : @TechZMusicBot
You can use this in your groups, i promise not to push any dumb updates before testing it.
Beta Testing Bot : @TechZMusicBetaBot
For testing new features, it will get updated frequently.
🚀 TechZMusic Update Highlights
- New Features:
- /queue: View the list of queued songs.
- /seek: Fast-forward the currently playing song by a specified number of seconds. For example,
- Enhancements:
- Improved user interface responsiveness when switching songs.
- Enhanced song thumbnail clarity with better detail display.
- Enhanced error handling: Now, the bot provides command formats when errors occur.
- Added a retry mechanism for downloading audio files if an error is encountered.
- Bug Fixes:
- Resolved an issue where songs would not load if a user joined the mini app session without a song playing. This problem was related to browser restrictions and has been addressed.
- Fixed a user interface glitch that occurred during song transitions.
- Compatibility Notice:
- A notification will now appear for users on Telegram app versions older than 7.6, advising them to update their app for the best experience with TechZMusic. While continuing with an older version is possible, functionality might be limited.
- Resources:
- Updated command list and additional information available at : https://t.me/TechZBots/917
👉 Updates have been deployed to the main bot (@TechZMusicBot). Enjoy an enhanced music listening experience with TechZMusic!
- New Features:
- /queue: View the list of queued songs.
- /seek: Fast-forward the currently playing song by a specified number of seconds. For example,
/seek 60 to advance the song by 1 minute.- Enhancements:
- Improved user interface responsiveness when switching songs.
- Enhanced song thumbnail clarity with better detail display.
- Enhanced error handling: Now, the bot provides command formats when errors occur.
- Added a retry mechanism for downloading audio files if an error is encountered.
- Bug Fixes:
- Resolved an issue where songs would not load if a user joined the mini app session without a song playing. This problem was related to browser restrictions and has been addressed.
- Fixed a user interface glitch that occurred during song transitions.
- Compatibility Notice:
- A notification will now appear for users on Telegram app versions older than 7.6, advising them to update their app for the best experience with TechZMusic. While continuing with an older version is possible, functionality might be limited.
- Resources:
- Updated command list and additional information available at : https://t.me/TechZBots/917
👉 Updates have been deployed to the main bot (@TechZMusicBot). Enjoy an enhanced music listening experience with TechZMusic!
🔰 TechZMusic Update
- Showing No. Of Songs In The Queue
- Fixed a bug when the song is paused by user
- Showing No. Of Songs In The Queue
- Fixed a bug when the song is paused by user
❤1
🔰 TechZMusic Update
- Improved messages sent by bot
- Added some statistics thing
- Added /invite command to share invite link
- Improved messages sent by bot
- Added some statistics thing
- Added /invite command to share invite link
♻️ TechZMusic Update
- Resolved an issue with the /skip command.
- Fixed a bug affecting the /playlist command.
- The bot will now notify active chats before a restart.
- Resolved an issue with the /skip command.
- Fixed a bug affecting the /playlist command.
- The bot will now notify active chats before a restart.
♻️ TechZMusic is Back Again!
We've made some significant changes:
- New Download Method: Instead of using ytdlp, TechZMusic now leverages a separate API for downloading.
About the New API
- Source: Utilizes the docs.piped.video (Piped API) to fetch download links from YouTube.
- Efficiency: Downloads and stores files locally for regular use.
This approach helps avoid blocks by YouTube since all requests go through the Piped API, which uses multiple servers with rotating IP addresses. Although the Piped API can occasionally be slow, storing files locally ensures that repeat requests for the same song are fast and efficient.
🚀 Bot Username : @TechZMusicBot
We've made some significant changes:
- New Download Method: Instead of using ytdlp, TechZMusic now leverages a separate API for downloading.
About the New API
- Source: Utilizes the docs.piped.video (Piped API) to fetch download links from YouTube.
- Efficiency: Downloads and stores files locally for regular use.
This approach helps avoid blocks by YouTube since all requests go through the Piped API, which uses multiple servers with rotating IP addresses. Although the Piped API can occasionally be slow, storing files locally ensures that repeat requests for the same song are fast and efficient.
🚀 Bot Username : @TechZMusicBot
🔰 New Update In TechZMusic Beta Bot
Now it shows connected users list
Go test it in your groups and tell me if it works
Bot Username : @TechZMusicBetaBot
Now it shows connected users list
Go test it in your groups and tell me if it works
Bot Username : @TechZMusicBetaBot
👍1
🔰 TechZMusic Update
- Connected Users List: Now visible in the mini app.
- Download Updates: Song download progress will be shared in groups.
- Improvements: Various code enhancements and bug fixes.
📢 Introducing "YT Stream API" (Details: https://t.me/TechZBots/933)
♻️ YT Stream API Update
With access to approximately 55 public piped servers, our API now:
- Checks the status and download speed of each server.
- Sorts and selects the top 10 fastest servers.
- Automatically re-evaluates every 6 hours to ensure optimal performance.
These enhancements aim to significantly boost download speeds.
🚀 Updates Applied: Changes are live on the main bot @TechZMusicBot
- Connected Users List: Now visible in the mini app.
- Download Updates: Song download progress will be shared in groups.
- Improvements: Various code enhancements and bug fixes.
📢 Introducing "YT Stream API" (Details: https://t.me/TechZBots/933)
♻️ YT Stream API Update
With access to approximately 55 public piped servers, our API now:
- Checks the status and download speed of each server.
- Sorts and selects the top 10 fastest servers.
- Automatically re-evaluates every 6 hours to ensure optimal performance.
These enhancements aim to significantly boost download speeds.
🚀 Updates Applied: Changes are live on the main bot @TechZMusicBot
👍2
🔮 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
We have hosted our own piped api now. Downloading songs with that is now fast af.
You can test it on @TechZMusicBot
👍1
🔰 TechZMusic Update
- Added /shuffle command to shuffle the queued songs. Can be used only by admins of group.
- Added /shuffle command to shuffle the queued songs. Can be used only by admins of group.
❤1🔥1
♻️ 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
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
♻️ 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
- 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
🔰 TechZMusic Update
- Pushed beta changes to main bot (refer)
- Bot now validates the user data sent by mini app
- Fixed
- Added more supported audio formats (list) when replied
- 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 : @TechZMusicBot
- 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 : @TechZMusicBot
👍1