Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Readme
Command-line karaoke session management utility.
Just run pip install karaokemanager
.
.yaml
, and modify it with your own settings.karaokemanager
or py -m karaokemanager
help
or h
at the command line to get a list of available commands.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
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, and 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 install karaokemanagerwinampdriver
.
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 YAML config file.karaoke_file
is the path to the file that should be playedkey_change
is a numeric value (from -5 to +5) 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.Create a package containing this code, install it, and then set the driver->class value in the YAML config file to point to your class.
On startup, and during runtime, Karaoke Manager will create a number of text files in your configured tempDataPath
, many of which are intended to be of some use if you are skilled with scripting or configuring third-party software to do your bidding. If that's you, then some of the files which might be of interest are:
KaraokeManager.singers.txt
contains the names from the current queue of singers (one per line). If a singer has no songs cued up, their name is prefixed with a tab.KaraokeManager.backgroundMusic.txt
is a file containing full paths of background music files (one per line). This is generated on startup by cross-referencing the contents of the backgroundMusicPlaylistFilename
(as specified in your configuration) with the music files that are found in the paths
that you have specified in the music
section of the config. You may find this file useful as a playlist for a media player that you can fade in between singers.KaraokeManager.musicRequests.txt
contains paths (one per line) of songs that you have selected with the cue
command. You could write a script to monitor this file and deal with the request queue as you see fit.KaraokeManager.songSuggestion.txt
is written to every ten seconds with the artist & title of a random track from your karaoke library. I use this to show a 'Why not try ...?' rolling display along the bottom edge of the karaoke screen.On startup, Karaoke Manager will scan your karaoke and music paths for files. If it finds files that it doesn't like the look of, it'll let you know, and it will also write various reports to files in dataPath
for you to examine at your leisure.
You can also ask Karaoke Manager to perform a deeper analysis of your files with the scan
command. This command will analyse your files, looking for duplicates, bad casing, inconsistencies, etc. The scan,quick
command will perform this basic checking, but scan,all
will go a bit further and report similar-looking titles as potential duplicates.
The various parts of the scan can be enabled/disabled in the scan
section in the YAML configuration file.
To prevent false positives being reported, you can create lists of exemptions (one per line) in text files in dataPath
:
ReversalExemptions.txt
can contain a list of those that are valid, with the two halves of the pair separated by a tab. Note that, currently, only an ampersand separator is considered.TheExemptions.txt
can prevent this by listing either of those values.CapitalizedExemptions.txt
can list those are valid (e.g. 'kd lang')all
scan will nag your about artists or titles that look very similar (though only by comparing artist with artists, and titles with titles). SimilarityExemptions.txt
can list those that should not be considered. Put both values on the same line, separated by a tab.If you like this, and/or use it commercially, please consider throwing some coins my way via PayPal, at steven.fullhouse@gmail.com, or buy me a coffee.
First release
FAQs
Karaoke session management utility
We found that karaokemanager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.