Skip to main content

Karaoke session management utility

Project description

KaraokeManager

Command-line karaoke session management utility, driving Winamp.

KaraokeManager1

KaraokeManager2

  • Maintains a list of singers and their selected songs, key changes, etc.
  • Easily add/delete/move singers and songs with short, simple commands. No mouse required.
  • Fast undo & redo functionality for fat finger syndrome.
  • Singers maintain their position in the queue, even if they currently have no songs cued up.
  • Heavy OCD rating.
    • Enforces correctly formatted karaoke and music filenames.
    • Can analyze your library for duplicates, bad capitalization, similar-looking titles, missing "The" prefixes, etc (lists of analysis exemptions can be created).
  • Writes the current list of singers to a file for the SingersQueue plugin to display.
  • Not just karaoke! There are also commands for adding non-karaoke music tracks to a playlist, for the AutoDJ plugin to play in-between singers.

Installation

Just run 'pip install karaokemanager'.

To run it

  • First, install a driver! (see below)
  • Copy the YAML template to ".yaml", and modify it with your own settings.
  • Then just run py -m karaokemanager
  • If you hate the config filename, rename it, and provide it as an argument to the program, e.g. py -m karaokemanager renamed_file.yml

Drivers

This utility was created so that it could work with any karaoke player. For it to "drive" the player, you need to provide it with a driver.

Currently, one driver exists, for Winamp, the 90s music player for Windows. There are currently no drivers for any Linux apps. If you know of a useable Linux karaoke app, I'm all ears.

Anyway, if you want to use the Winamp driver, you should install it first with pip.

If you want to create a driver for your favourite karaoke player, create a Python class that exposes two methods:

	def __init__(self, config)
	def play_karaoke_file(self, karaoke_file, key_change, errors)
  • config is the pyyaml object that represents the driver-specific section from the KaraokeManager config file.
  • karaoke_file is the path to the file that should be played
  • key_change is a numeric value that tells you how many semitones the pitch of the track should be shifted.
  • errors is a list to which you should append any error messages that KaraokeManager will display to the user.
  • The constructor should raise an exception if there is a problem.

Create a package containing this code, install it, and then set the driver->class value in the KaraokeManager config file to point to your class.

TODO

  • More customization.
  • More code comments.

v1.0

First release

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

karaokemanager-1.0.0.tar.gz (55.0 kB view details)

Uploaded Source

Built Distribution

karaokemanager-1.0.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file karaokemanager-1.0.0.tar.gz.

File metadata

  • Download URL: karaokemanager-1.0.0.tar.gz
  • Upload date:
  • Size: 55.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for karaokemanager-1.0.0.tar.gz
Algorithm Hash digest
SHA256 79f2a21b1576e78f4badbe67b148afefe37ed00277e351502b1e03d1a9d711b1
MD5 8b9b5d7174e81e8963f86209049b6e04
BLAKE2b-256 0eaa45090bad3856f1fc6bf405295ad4f4a50b0be383151d99743d29b53344d6

See more details on using hashes here.

File details

Details for the file karaokemanager-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: karaokemanager-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for karaokemanager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84479597878ddcb3533f6ac742cc0492dbd7fccad742d8a09ae54467a3ffed38
MD5 6b8bd4fc22a65a8b4a3b72d4bc9463ac
BLAKE2b-256 b04eaa14502b26714910b2a199d2bacb3fec4c9f3e16ecb492c736c7d160881c

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