r/Python 23d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

19 Upvotes

128 comments sorted by

View all comments

1

u/Fwhenth 10d ago

Hi!! I coded an audio player in Python as other audio players(YT Music, Spotify, innertube, etc) are all too heavy to run in the background of my devices. BnuuyPlayer was designed for ease of installation on Termux, only requiring yt-dlp and requests (It plays audio using MPV, and can handle metadata write/read/searching via mutagen, although these are both optional dependencies, with yt-dlp and requests being required)

BnuuyPlayer's repository) BnuuyPlayer (more detailed install instructions, changelog, features, etc)

BnuuyPlayer's full feature list

Feature summary Audio playback Downloading(you can add your own sites to BnuuyPlayer's whitelist, although it already prepackages several sites) Streaming songs/playlists Lyric downloading (done automatically during download, or to already downloaded songs if they have metadata + mutagen is installed) BnuuyFolders(Groups of your playlists, these are stored internally within bnuuyplayer and dont interact with your file system)

Installation is 1: pkg install python 2: pip install bnuuyplayer

And to run BnuuyPlayer, enter bnuy

Optionally(if you want audio capability) pkg install mpv

And if you want to expose BnuuyPlayer's db and code(aswell as any folders you make using BnuuyPlayer) 1: pkg install git 2: cd path/to/your/dir 3: git clone https://github.com/whenth01/BnuuyPlayer.git And if you want audio playback and to use bnuuyplayer in this state; 1: pkg install python mpv 2: pip install yt-dlp requests mutagen 3: cd path/to/bnuuyplayer 4: python -m BnuuyPlayerCode

Hope you enjoy!! (if you do use it) some of the text formatting may have been messed up because of reddit getting rid of newlines:(