Skip to main content

Re-name and re-structure google play music takeout to be plex friendly.

Project description

Google Play Music Takeout to Plex

A tool for restructuring Google Play Music Takeout to a plex (and human)-friendly format.

This tool comes with zero garuntees. I recommend testing on a small subset of audio files before attempting it on a full takeout library.

The first step of the tool scrapes all of the google play CSV files and turns them in to one main csv. This will be output even during dry run, and can be used on its own in this way.

Usage

python takeout_converter.py --takeout-tracks-directory 'google_extract/Takeout/Google Play Music/Tracks/'

Options

Options

name

type

required

description

-i/–takeout-tracks-directory

string

yes

the directory containing extracted takeout files (audio files and csv files

dry-run

any value

no

skip actually operating on files if anything is passed. Will still output the main-csv file.

move-files

any value

no

moves files instead of copying them. Useful if you have limited space.

main-csv

string

no

filepath to a csv that combines all play takeout files. Mostly for debugging. CSV that can be used here is output by the program.

output-directory

string

no

Directory to which to move or copy the audio files. defaults to ‘out’

Output

The tool scrapes the google play music CSVs and the audio files’ metadata.

Actual metadata is prioritized, but if metadata is missing but is present in the CSV (artist, album, track name), it will be added to the audio file.

Files are then moved to directories underneath out, or the supplied takeout-tracks-directory location.

The directory structure follows Plex music directory and file naming.

Based on play csvs and file metadata, they will be structured to be: ArtistName/AlbumName/TrackNumber - TrackName.ext

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

play_takeout_to_plex-0.1.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

play_takeout_to_plex-0.1.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

play_takeout_to_plex-0.1.3-1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file play_takeout_to_plex-0.1.3.tar.gz.

File metadata

  • Download URL: play_takeout_to_plex-0.1.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.8.0-45-generic

File hashes

Hashes for play_takeout_to_plex-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f338e840f31652cb89b0d623e08f91c333d3677aa3e634591c7146df8ae23833
MD5 15f0752051ce9feae5cd2f078ad4fc3d
BLAKE2b-256 a3b71c248f588705fa5afcade0c1a12cba7bca0a0e304b83ca0faa386f638c73

See more details on using hashes here.

File details

Details for the file play_takeout_to_plex-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: play_takeout_to_plex-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.8.0-45-generic

File hashes

Hashes for play_takeout_to_plex-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 43ad7ce425c826f8cda86fff2f5bad6c3c83823c499858c71331169366aa8001
MD5 823eb038c6ae17450edd62e6d28a44f0
BLAKE2b-256 f1599d32d43554597420f09c18c4629cae660e983333d5b56cf51d01eb3a4a23

See more details on using hashes here.

File details

Details for the file play_takeout_to_plex-0.1.3-1-py3-none-any.whl.

File metadata

File hashes

Hashes for play_takeout_to_plex-0.1.3-1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b34b136cb112d5d818abc45095c7d830161c34cba8dce420c0cb6b1546512cc
MD5 ce1a64899f8c9205deeb13c6667ff2a5
BLAKE2b-256 105b5fcc8b181a8fd509ecad3e6521913ccf26b548dfb6a5e7a39f2e53d6d864

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page