blackpearl-bbcode-bot
Simple Telegram Bot for generating BlackPearl BBCode Templates Written in Pyrogram
Features
-
-
-
-
-
-
To-do
- Changing Entire Script to Make Advanced Stuffs,Takes time...
Installation
Requirements
Install the following dependencies in the listed order. Ensure shaka-packager is added to the environment path.
- [python], 3.6.0 or newer
- [rclone], rclone.exe and rclone.config in same path or needed to be added in environment path
- [mediainfo], mediainfo.exe same path or environment
Steps
- Edit BOTCONFIG.py Add Your Credentials And Paths
- Install Requirements :
python -m pip install -r requirements.txt - Add Needed Files to Path : rclone.exe - mediainfo.exe - rclone.config
- Mount Your Drive using rclone :
rclone mount remote:foldername --vfs-cache-mode full s:' Note : Make Sure U mounted the remote:folder mentioned in config file, You can changes:` to your mounted drive name (not rclone name) - Run Bot
python BPBBCODE.py - Open Telegram Send
/movie Foldernameor/tv foldername
Working
- Suppose your full path is :
TEAM DRIVE/BOT/MOVIES/DUNE.2021.mkvBOT is your remote folder (folder u configured remote or root folder) And Your Remote name is :ArthurAnd If you want to fetch bbcode -- Mount
Arthur:BOT - And You need to write :
Arthur:BOT/in BOTCONFIG.py :REMOTE_NAME = "Arthur:BOT/" - And When You use command in bot Use :
/movie MOVIESSo it loops inS:/MOVIES/for MKV/MP4/AVI files - If you Are Trying TVSHOW, You must add season folder in command folder That is :
TEAM DRIVE/BOT/TVSHOWS/VIGIL.S01/Vigil.S01E01.mkvTEAM DRIVE/BOT/TVSHOWS/VIGIL.S01/Vigil.S01E02.mkvAnd You Request :/tv TVSHOWSso that it picks season folder link and size.It only picks First episode for mediainfo,Rest of the episodes got skipped for mediainfo.So Unless there isE01its skips..
- Mount
Issues
- Working must be trickier for you,But if you have any issues just add, I will fix it..