GithubHelp home page GithubHelp logo

rjgy / plexmediamanager Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 82.85 MB

A discord bot made in python which converts YouTube videos to MP3s and sends the raw MP3 file to the user via Discord.

Python 99.91% Batchfile 0.05% Shell 0.04%

plexmediamanager's Introduction

Plex Media Manager

A python bot which converts YouTube videos to MP3s and sends the raw MP3 file to the user. Can also play music through Discord.

Usage

  • ^!download {url} {channel} - Downloads the song to the requested channel. If the channel does not exist, it will create a new channel of the requested name. If the song already exists, an error will pop up saying that the song has already been downloaded with a link to the song.
  • ^!playlist {url} {channel} [starting index] [ending index] - Downloads the playlist to the requested channel. If the channel does not exist, it will create a new channel of the requested name. Starting index indicates where to start downloading the playlist from (inclusive). Ending index indicates where to stop downloading the playlist from (exclusive).
  • ^!list {channel} - Lists all songs downloaded in the discord channel.
  • ^!play c {channel} [starting index] [ending index] - Plays songs from discord channel.
  • ^!play {youtube url} - Plays song from youtube.
  • ^!playlist {youtube url} - Plays playlist from youtube.

Coming Soon

  • Webscraping torrent websites
  • Downloading torrents to qbittorrent with magnet links
  • Moving torrented files to plex folders on completion and random media checks

Requirements

  • Java 17
  • Python 3.11
  • Lavalink 3.7.8
  • Pip + Every package in requirements.txt
  • Riot API Key in .env file at root of project
  • Google API Key & client_secrets.json at root of project
  • Discord Bot Token in .env file at root of project

What you need

How to operate bot (I always forget how to)

  1. Run lavalink server via Java or Run startlavalinkserver.bat
  2. Invite the bot to your server.
  3. Run main.py.
  4. Run commands.

Current Modules

League of Legends Rank Tracker

Youtube to MP3 & Youtube Downloader

Discord Music Bot

Torrent Webscraper

Limitations/Buglist

  • Playing a playlist only does up to 320 the first songs when playing.
  • The code for voice chats and parsing voice chats through commands is a lil buggy, needs to be fixed.
  • League leaderboard doesnt

plexmediamanager's People

Contributors

rjgy avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.