Skip to main content

RK's CLI Music Player

Project description

RK Music Streamer

A command-line music player that allows you to play/stream songs, albums, playlists.
Powered by Jio Saavn Web APIs


Prerequisites

  • Python 3.9.x or above.
  • VLC player must be installed. This application uses the VLC player from streaming and python-vlc bindings for interaction.
    (Install from VLC)

Dependencies


Installation
> python3 -m pip install rkstreamer
$ pip/pip3 install rkstreamer

Launch
Launch the application by entering the following in the terminal:

> python3 -m rkstreamer
or
> rkstreamer


Usage
  • Default mode is 'Song Search' Mode.
  • Modes can be switched using --album, --plist.
  • Supports search parameters for Songs, Albums -> 'search string' -n:number, -l:language, -b:bitrate.
  • -q, -r, -g displays Song Queue, Recommended Songs, Go-to-Album modes.
  • a, p, r followed by the song index can be used to Add, Play, Remove songs from the corresponding queues.
  • -c used to control the player and media playback; supports volume, playback, output controls.
  • Player control actions should be suffixed with the '-c' switch such as -cp - play, -cs - stop, -cn - next song, -cpr - previous song.
  • Volume controls: v - display current volume, +number - volume increase, -number - volume decrease.
  • Playback controls: >seconds - seek forward, <seconds - seek backward, t - shows remaining time.

Examples
> Enter the song name: pokkal pokkum -n:5 -l:tamil -b:320
(Search string - pokkal pokkum, number of results to display - 5, language - tamil, bitrate - 320kpbs)

*When a song is playing:
> Enter the song name: -q
(Displays the song queue)
> -r
(Displays the recommended song queue)
> -g
(Displays the playing song's album songs)

> -qr1 - removes the first index song from queue
> -qp1 - plays the first index song from queue
> -qa1 - adds the first index song from search list

Similar behaviors for -r (recommended songs), -g (go-to-album).
Correct prefix and actions should be used such as -rr1, -ga1, etc.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rkstreamer-1.1-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file rkstreamer-1.1-py3-none-any.whl.

File metadata

  • Download URL: rkstreamer-1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for rkstreamer-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20d6cebbd23644764d7e7c7e060a431422433cf6b1d33d585a96b3851ec1636e
MD5 19fc61983a0daa05668d59159fa86c95
BLAKE2b-256 d1dad2f63f98acb92d0dacd8a041f8a49e0ce2521041a28963903ec8c0ea0d9f

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