Skip to main content

Play audio files on your car stereo and maintain sanity

Project description

PyPI Python version

transfat

Purpose

transfat's purpose is to make playing music files on your car stereo over USB not a total nightmare. Some car stereos play audio files from a (FAT-only) USB device in the order that the files were transfered to the device. In general, this is not an alphanumeric order. This means that when you put on an album, it might start from track 6, then go to track 9 or something. To make things worse, many of these stereos demand that your audio files be either MP3s or WMAs; so say good-bye to your FLACs and Oggs.

Ideally, car stereos should not depend on these small details, but unfortunately many do. That's where transfat comes in:

transfat transfers audio files to FAT devices and worries about the annoying details of your car stereo so that you don't have to.

What exactly does this do?

Say we run

$ transfat source drive/destination

then transfat does some/all of the following:

  1. Filters out any unwanted .logs, .cues, etc. in source
  2. Converts non-MP3s from source to temporary MP3s
  3. Transfers files to destination
  4. Unmounts drive and sorts into alphanumeric order
  5. Cleans up intermediate files

Great, how do I install this?

First you need to get some dependencies. Make sure you have fatsort and ffmpeg. On Ubuntu you can get them with

sudo apt install fatsort ffmpeg

Once that's done, install transfat using

sudo pip3 install transfat

or just run the run_transfat.py script directly.

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

transfat-0.3.9.tar.gz (16.1 kB view details)

Uploaded Source

File details

Details for the file transfat-0.3.9.tar.gz.

File metadata

  • Download URL: transfat-0.3.9.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15rc1

File hashes

Hashes for transfat-0.3.9.tar.gz
Algorithm Hash digest
SHA256 d2d39679c3e7858fbf6f12910ea27cae0e288e22373307f93be8688d0bb314d0
MD5 c9911c498774c04a0435904e59e05613
BLAKE2b-256 63ad494423c581780b35a153590e82041185a6e9c602f02837e24b9ac07eaffb

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