LinkTune
LinkTune is a Python command line tool that allows users to convert music links between music streaming services and perform simple song searches across these platforms. Created to facilitate easy music sharing between people using different music services.
Supported services
LinkTune currently supports these music services:
- Spotify
- Apple Music
- YouTube Music
- Tidal
- Deezer
Usage
LinkTune provides two commands: convert and search.
convert
The convert command allows you to convert a music link from one streaming service to another.
Syntax:
linktune convert <source_url> <destination_service>
where <source_url> is the link to be converted and <destination_service> is the streaming service you'd like to generate the link for.
For example, to convert a Spotify link to a Tidal link:
linktune convert https://open.spotify.com/track/3pUlXJnQx66IitZVn8Lcki tidal
Will return:
info: Diazepam by Ren, url: http://www.tidal.com/track/176483583
search
The search command allows you to search for a track across multiple music services.
Syntax:
linktune search --artist <artist> --title <title> --service <service>
or use shorthand options, e.g.:
linktune search -a ren -t diazepam -s apple
Diazepam by Ren: https://music.apple.com/us/album/diazepam/1652019136?i=1652019316&uo=4
Omitting --service will return the track on all services.
Installation
pip install linktune
Get a Spotify API key
This app uses the Spotify API, which requires the use of a Spotify client ID and client secret to authenticate API requests. You can generate these for free by creating a Spotify account and navigating to https://developer.spotify.com/dashboard/applications.
You can then set your local environment variables for SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET as follows:
export SPOTIPY_CLIENT_ID=<your_client_id>
export SPOTIPY_CLIENT_SECRET=<your_client_secret>
These environment variables will be read from config.py.
Release files for linktune 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linktune-0.1.3.tar.gz | 9.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linktune-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / linktune-0.1.3.tar.gz
| Download URL | linktune-0.1.3.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4560db9cea92964e49c96449b5f79fd7919d921e6f2da742bf021dad6a6df1cf
|
|
BLAKE2b-256 checksum How to use checksums |
acebaa95c2b3671a1f699f7af30f8bfef662f5e3848b7527cbd3f27193d5e5b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / linktune-0.1.3-py3-none-any.whl
| Download URL | linktune-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3f7d90ea298af23ec1d88b651c08fce0300dff1a4495cb92b38a9fac0fe67a1
|
|
BLAKE2b-256 checksum How to use checksums |
420e70e7a58ad1ca92e3486f0fe1bb61b89e715758e5a679c8fd1efbc8189bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|