Method: PopCap::AudioFile#unformatted
- Defined in:
- lib/pop_cap/audio_file.rb
#unformatted(unformatted_hash: UnformattedHash) ⇒ Object
Public: This method returns a sanitized version of #raw_tags.
{
filename: '$HOME/spec/fixtures/sample.flac',
nb_streams: 1,
format_name: 'flac',
format_long_name: 'raw FLAC',
duration: '1.000000',
filesize: '18291',
bit_rate: '146328',
genre: 'Sample Genre',
track: '01',
album: 'Sample Album',
date: '2012',
title: 'Sample Title',
artist: 'Sample Artist'
}
108 109 110 |
# File 'lib/pop_cap/audio_file.rb', line 108 def unformatted(unformatted_hash: UnformattedHash) @unformatted_hash ||= unformatted_hash.hash(raw_output) end |