Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 764 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 764 Bytes

flactags

An OTP application for get metadata information from FLAC files.

Build

$ rebar compile

or by rebar3

$ rebar3 compile

Samples

Correct File

1> flactags:get_tags("/home/some/Rodrigo Amarante/2013 - Cavalo/09 - Cavalo.flac").
{ok,#{4 => #{<<"ALBUM">> => <<"Cavalo">>,
        <<"ARTIST">> => <<"Rodrigo Amarante">>,
        <<"DATE">> => <<"2013">>,
        <<"GENRE">> => <<"Rock Alternativo">>,
        <<"TITLE">> => <<"Cavalo">>,
        <<"TRACKNUMBER">> => <<"9">>,
        <<"VENDORNAME">> => <<"reference libFLAC 1.3.0 20130526">>}}}
2> 

Broken File:

2> flactags:get_tags("/home/some/Anna Maria Jopek/2008 - Upojenie (with Pet Metheny)/11 - Letter From Home.flac").
{error,file_not_flac}
3>