Skip to main content

TUI frontend for MPD

Project description

dpm

dpm is a TUI frontend to MPD

Features

The feature set, at present, is somewhat limited. Right now, it can:

  • browse your library
  • search for media
  • manage playlist settings
  • shuffle your library
  • view the current playlist

Limitations

  • browsing works only with a 3-level directory structure (i.e. artist -> album -> songs)
  • managing playlist settings does not include managing the queue

Issues

  • if left idle for too long, the app loses connection to MPD

Installation

  • TODO

Requirements

  • dpm requires a working installation of MPD.
    • For now, if your MPD setup has a different hostname and port number, change it in client.py. The default hostname is "localhost" and port number is 6600.

Dependencies

  • Rich (install with pip install rich)

Usage

Navigation

  • Ctrl+c is used to navigate backwards. For example, when browsing the library, inputting Ctrl+c will take you to the parent directory.

Main Menu

  • Simply input the index corresponding to the desired task. For example, if browsing the library is at index 1, input a 1.

Browsing the library

  • The app will present a list of folders. To navigate, input the letter 'v' followed by the corresponding index. For example, if the artist "Kraftwerk" is at index 20, input "v 20" to view its subdirectories.
  • Adding to the queue followes the same procedure. To add an artist, album or track to the queue, input 'a' followed by the corresponding index. For example, if the album '13' is at index 1, input "a 20" to add it to the queue.

Searching

  • Input a search query. The app will return a table of search results. To add something to the queue, input 'a' followed by the corresponding index, as detailed above.

Playlist Options

  • Simple input the index corresponding to the desired operation. For example, if shuffling the playlist is at index 6, simply input a 6.

Screenshots

Main Menu

main_menu

Browsing the Library

browse_artist browse_album browse_title

Searching the Library

search_results

Playlist Options

playlist_options

Currently Playing

currently_playing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dpmt-0.0.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

dpmt-0.0.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file dpmt-0.0.1.tar.gz.

File metadata

  • Download URL: dpmt-0.0.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dpmt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 23b097e5c6ed05fe3966419f7d9e234c8bb7877065dbbbfe4521460db92e864a
MD5 1e86a0f331f61281be7570669db0275d
BLAKE2b-256 9d7f0c7108b016ff74f98aaf62d50f88e1ad93fddeba84d68932ac2fb7c3a7dc

See more details on using hashes here.

File details

Details for the file dpmt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dpmt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dpmt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d81db8eac783cdf4be6606bacb735694b5e97c7d65c3a9e390667db5c0cd4c04
MD5 1d8b02a71f988dde7d709c5968f1b4d4
BLAKE2b-256 542f05196e2b2f544ae7a35c24ba6e47938af0962e9e2828b591dd7bda0c1ef4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page