


MellPlayer
Preface
I like listening to music very much when writing code. Recently, I have heard many amazing songs in the playlist, which I think are very good. However, the random playback and quick switching of playlists are a weakness, so we developed MellPlayer, which allows you to listen to songs randomly according to categories and realize quick switching between playlists. I hope everyone will like it.
Development Concept
The first version of MellPlayer has just been released, and there are still many areas that need improvement. I very much hope to have like-minded friendsFor k, let’s work together to create more and more perfect players. Here’s my development philosophy:
MellPlayer is a command line player, mainly for listening to songs randomly according to your mood. It can quickly switch between playlists, is simple and smooth, and I hope to carefully add small but beautiful functions on this basis. I don’t want to introduce too many complicated functions and add a lot of shortcut keys. Making simple things complicated is contrary to my original intention.
About the project
Project address: MellPlayer
The project is developed based on python3 and relies on mpv. There are still many areas that need to be optimized and improved. If you find any problems, you can submit an issue to me. Of course, interested friends are very welcome to join and build a player we like together.
Now that you see this, come to Star and follow each other, haha! ! !
Support
OSX & Linux (Linux not tested)
Install via pip3
[sudo] pip3 install MellPlayer
Mac OSX installation dependencies
Install mpv through Homebrew
brew install mpv
Update via pip3
[sudo] pip3 install MellPlayer --upgrade
Use
Enter mellplayer directly on the command line to enjoy:
mellplayer
shortcut keys
操作 [j] [Next Line] ---> 下 [k] [Prev Line] ---> 上 [q] [Quit] ---> 退出 音乐 [space] [Start/Pause] ---> 播放/暂停 [n] [Next Song] ---> 下一曲 [p] [Prev Song] ---> 上一曲 [f] [Forward Playlist] ---> 下个歌单 [b] [Backward Playlist] ---> 上个歌单 音量 [-] [Reduce Volume] ---> 减小音量 [=] [Increase Volume] ---> 增加音量 [m] [Mute] ---> 静音 歌词 [l] [Show/Hide Lyric] ---> 显示/关闭歌词 帮助 [h] [Show/Hide Help] ---> 显示/关闭帮助
The above is the detailed content of Introduction to MellPlayer command line player based on playlist. For more information, please follow other related articles on the PHP Chinese website!

ArraysinPython,especiallyviaNumPy,arecrucialinscientificcomputingfortheirefficiencyandversatility.1)Theyareusedfornumericaloperations,dataanalysis,andmachinelearning.2)NumPy'simplementationinCensuresfasteroperationsthanPythonlists.3)Arraysenablequick

You can manage different Python versions by using pyenv, venv and Anaconda. 1) Use pyenv to manage multiple Python versions: install pyenv, set global and local versions. 2) Use venv to create a virtual environment to isolate project dependencies. 3) Use Anaconda to manage Python versions in your data science project. 4) Keep the system Python for system-level tasks. Through these tools and strategies, you can effectively manage different versions of Python to ensure the smooth running of the project.

NumPyarrayshaveseveraladvantagesoverstandardPythonarrays:1)TheyaremuchfasterduetoC-basedimplementation,2)Theyaremorememory-efficient,especiallywithlargedatasets,and3)Theyofferoptimized,vectorizedfunctionsformathematicalandstatisticaloperations,making

The impact of homogeneity of arrays on performance is dual: 1) Homogeneity allows the compiler to optimize memory access and improve performance; 2) but limits type diversity, which may lead to inefficiency. In short, choosing the right data structure is crucial.

TocraftexecutablePythonscripts,followthesebestpractices:1)Addashebangline(#!/usr/bin/envpython3)tomakethescriptexecutable.2)Setpermissionswithchmod xyour_script.py.3)Organizewithacleardocstringanduseifname=="__main__":formainfunctionality.4

NumPyarraysarebetterfornumericaloperationsandmulti-dimensionaldata,whilethearraymoduleissuitableforbasic,memory-efficientarrays.1)NumPyexcelsinperformanceandfunctionalityforlargedatasetsandcomplexoperations.2)Thearraymoduleismorememory-efficientandfa

NumPyarraysarebetterforheavynumericalcomputing,whilethearraymoduleismoresuitableformemory-constrainedprojectswithsimpledatatypes.1)NumPyarraysofferversatilityandperformanceforlargedatasetsandcomplexoperations.2)Thearraymoduleislightweightandmemory-ef

ctypesallowscreatingandmanipulatingC-stylearraysinPython.1)UsectypestointerfacewithClibrariesforperformance.2)CreateC-stylearraysfornumericalcomputations.3)PassarraystoCfunctionsforefficientoperations.However,becautiousofmemorymanagement,performanceo


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version
SublimeText3 Linux latest version
