Package: miniplayer
MiniplayerA curses based mpd client with basic functionality and album art.After installation, the player can be opened from the terminal withminiplayer.InstallationThis package can be installed by:Cloning this repository to your computer and runningpython setup.py installThrough PyPi withpip install miniplayerBy installing theminiplayer-gitpackage with your AUR package manager of choice.ConfigurationThe config file is located at~/.config/miniplayer/config. The example configuration file,config.example, has all the default values. You will need to create the file yourself.playerWow, that volume step is huge. Why isn't my album art centered?OptionDescriptionfont_widthThe width of your font in pixels in the actual terminal.font_heightThe height of your font in pixels in the actual terminal.volume_stepThe ammount (in percents) the volume will be adjusted on pressing the volume up and volume down keys.album_art_onlyWhether or not to only draw the album art and no other track info (true/false).auto_closeWhether or not to automatically close the player once the mpd playlist has concluded (true/false).show_playlistWhether or not to show the playlist view.Thefont_widthandfont_heightoptions are used to center the album art properly.Here is an example of how they should be measured.artWhy listen to music if you can't look at the pretty album art?OptionDescriptionimage_methodThe method to use for drawing album art. Available values arepixcatandueberzug.mpdTell me your mpd address please!OptionDescriptionhostThe mpd hostportThe mpd portpassThe mpd passwordkeybindingsThis section allows you to change the keybinds for the player. The format for a keybind iskey = action(for examplep = play_pauseorleft = last_track).To useshiftas a modifier, capitalize the keybinding (i.e.shift + pbecomesPandshift + leftbecomesLeft).This only works for alpha keys and the arrow keys!Available actionsplay_pausenext_tracklast_trackvolume_downvolume_uptoggle_infohelpquitselect_downselect_upselectmove_upmove_downshufflerepeatdeletecommand_linethemeMake it yours!OptionDescriptionaccent_colorThe color to use for selections in the playlistbar_colorThe color for the progress bartime_colorThe color for the time stampbar_bodyA single character to use for the body of the progress barbar_headA single character to use for the head of the progress barcommand_sepCharacters used to seperate the command linecommand_charCharacters to indicate the command line is openThe following terminal colors can be used:blackredgreenyellowbluemagentacyanwhiteYou can also use the magic colour calledauto. If you pick it, the player will try to determine the dominant color in the album art and use that instead.Default keybindsKeyFunctionhShow keybindspPlay/pause>Next track<Last trackqQuit+Volume up-Volume downiToggle infoUpSelection upDownSelection downEnterPlay selected songDeleteRemove selected song from playlistShift + upMove selected song upShift + downMove selected song downxShuffle playlistrToggle repeat:Open command lineThese keybinds can be changed by editing the config file. See theconfig.examplefile for the format.The command lineThe command line can be used to add songs to the current playlist. To launch it, press thecommand_linebutton (that's:by default). The command line supports some tab completion but you cannot move the caret left or right (yet).The format is as follows:[hierarchy] [tag1/tag2/tag3/...tagN]You do not have to populate all the tags. if you type, for example,artist Phoebe Bridgers/and hit enter, all of Phoebe's music in your library will be added to the playlist.NOTEYou do not type the seperator! It is added automatically. Just use a space!The hierarchy controls the order of the tags and what each tag represents. Currently there are 4 available hierarchies with plans to add user configurable ones in the future.HierarchiesHierarchyTag formatalbumalbum/songartistartist/songsongsongaaartist/album/songCommand line keysKeyActionEscapeExit command lineEnterAttempt to add the current tags to the playlistF.A.Q.Q:Album art is not showing up.A:Try changingimage_methodfrompixcattoueberzugor vice versa.Q:Album art is too big/too small.A:You need to configurefont_heightandfont_width. Their values should be the actual pixel height and width of a character in your terminal.More screenshots!