Fork me on GitHub
Release:
Date:
0.3.2
Aug 10, 2011
Flattr Flacsync

Table Of Contents

Download

Get latest source archive,
flacsync-0.3.2.tar.gz, or install with:

pip install flacsync --upgrade --user

Found a Bug?

Fill out a report on the issue tracker.

This Page

3.2. flacsync.decoder

Define interfaces for processing compressed audio files.

class flacsync.decoder.FlacDecoder(name)[source]

Bases: object

FLAC file deocder class. Provides interface for tag access.

FLAC_TAGS

Dictionary mapping from flacsync name -> FLAC tag name

tags[source]

Dictionary of FLAC tag. Valid key names are:

Key Description
album Album title
album_artist Album artist name
artist Artist name
comment  
compilation  
composer Composer name
copyright  
description  
disc Disc number
enc_by Encoder string
genre Genre string
license  
performer Performer name
rg_album_gain Album replay gain
rg_album_peak Album peak
rg_track_gain Track replay gain
rg_track_peak Track peak
title Track title
totaltracks Total album tracks
track Track number
year Year (20XX)