Skip to content

Library transcoder is a simple python script that will "sync" a lossless version of your music library to a lossy version. It will copy files you tell it to copy (mp3, ogg, covers, any pre-determined .ext files etc) and transcode the files you want to transcode (flac, wav, etc) to the format you want to have your lossy library in (mp3, ogg, aac).

License

Notifications You must be signed in to change notification settings

peioe/library-transcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

library-transcoder

Library transcoder is a simple python script that will "sync" a lossless version of your music library to a lossy version. It will copy files you tell it to copy (mp3, ogg, covers, any pre-determined .ext files etc) and transcode the files you want to transcode (flac, wav, etc) to the format you want to have your lossy library in (mp3, ogg, aac).

## Dependencies

python 2.7, oggenc, flac, metaflac

Usage

translibrary.py [options] source_dir target_dir

Options:

-h, --help show this help message and exit
-f FORMAT, --format=FORMAT transcode to mp3 or ogg (default is mp3)
-m, --multiprocess use multiprocessing to transcode the files (default is false)
-r, --resample resample file to 44.1kHz when transcoding
-v, --verbose print status messages to stdout
See at the top of the scripts for variables that can be changed.

## Features and todo-list

Todo:

  • Multithreading for transcoding.

Transcoding features:

  • Transcode to AAC

### Done

  • Copy directory structure from source to target.
  • Whitelist of file extensions to keep and copy.
  • Copy existing mp3, ogg, mpc from source to target.
  • Copy cover.jpg or other specific filenames.
  • Reprocess files when more recent than target.
  • number of skipped copies, transcodes, etc.
  • Skip existing mp3/other files from copy.
  • Option for target formats (mp3, ogg)

Transcoding features

  • Option to downsample to 44.1kHz when transcoding.
  • Transcode to OGG
  • Resampling when transcoding to OGG
  • Transcode to MP3 (default)
  • Resampling when transcoding to MP3

About

Library transcoder is a simple python script that will "sync" a lossless version of your music library to a lossy version. It will copy files you tell it to copy (mp3, ogg, covers, any pre-determined .ext files etc) and transcode the files you want to transcode (flac, wav, etc) to the format you want to have your lossy library in (mp3, ogg, aac).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages