As you can see in the Timeline.rb model is that I define Size by the source size, but I want to change that to the source duration of the audiofile.
Current setup
def size
(source.size.to_f/10000000).round(1)
end
I tryed a lot gems and stuff but I doesn't seems to get it working? P.S. files are stored on S3 Amazon.
Any thoughts? Greetings, Chris