scan a music directory to find concerts near a specified location
Project description
metalfinder is a command-line tool that scans a music directory to find concerts near a specified location.
Installation
Using pip
You can install metalfinder using pip:
$ pip install metalfinder
From source
You can install metalfinder from source using flit:
$ apt install flit $ git clone https://gitlab.com/baldurmen/metalfinder $ cd metafinder $ flit install
API Providers
Bandsintown
To use the Bandsintown API provider, you will need a Bandsintown App ID. This is your API key and it should be kept private.
Other providers
Do you know a good website that tracks concerts and has a somewhat public API? If keys are not too hard to get, I’d be more than happy to implement it!
CLI options
Here is an example of how to use metalfinder:
$ metalfinder -d "/home/foo/Music" -o "/home/foo/metalfinder.atom" -l "Montreal"
The complete CLI parameters can be found below and in the man page:
Usage: metalfinder -d <directory> -o <output> -l <location> -b <app_id> [-c <cache>] [-m <date>] [--verbose] metalfinder (-h | --help) metalfinder --version Options: -h --help Show the help screen --version Output version information --verbose Run the program in verbose mode -d --directory <directory> Music directory to scan to create artist list -o --output <output> Path to the desired output file. You can either chose a text file (foo.txt), a JSON file (foo.json) or an ATOM file (foo.atom) -l --location <location> Name of the city to use when looking for concerts -b --bit-appid <app_id> Bandsintown App ID (API key) -c --cache <cache> Path to the cache directory. Defaults to XDG_CACHE/metalfinder -m --max-date <date> Max date in YYYY-MM-DD format (ISO 8601)
Development
Running the test suite
Building the man page
The man page for metalfinder can be generated using the rst2man command line tool provided by the docutils project:
$ rst2man manpage.rst metalfinder.1
License
This project was written by Louis-Philippe Véronneau and is licensed under the GNU GPLv3 or any later version.
The code to query Bandsintown comes from the python-bandsintown project, was written by Chris Forrette and is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file metalfinder-1.1.1.tar.gz
.
File metadata
- Download URL: metalfinder-1.1.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 589c9bf47d334ff7093a31e3a490c2a8c4e77e90534d72f9a023df4b1b75d7bd |
|
MD5 | b48ac087a2d04a8a77df0e958c8a4a29 |
|
BLAKE2b-256 | 9ed4405863f800b659faa3d6c2b9fefe31fc364819e0ddb1a816250a2fd6279a |
File details
Details for the file metalfinder-1.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: metalfinder-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47ccb5b4fd16ddb017896e0f3cd86bb4117f7dc24eebfeebbb6eb6e66d9ab8d8 |
|
MD5 | 1d08162631d17d9df2f043a4f7a3747a |
|
BLAKE2b-256 | d23162f3a9595dc5e07794b0623cc70c95e1cc9c10beed67779c8a2771f5831c |