class

Emerald::VLC::Metadata

Inherits Reference < Object

Container for extracted media metadata tags, timing, and properties.

Constructors

Instance methods

album
Source
album=(album : String | Nil)
Source
artist
Source
artist=(artist : String | Nil)
Source
artwork_url
Source
artwork_url=(artwork_url : String | Nil)
Source
date
Source
date=(date : String | Nil)
Source
description
Source
description=(description : String | Nil)
Source
duration_ms
Source
duration_ms=(duration_ms : Int64)
Source
duration_seconds

Duration in floating point seconds

Source
empty?

Returns true if essential media tags are present

Source
encoded_by
Source
encoded_by=(encoded_by : String | Nil)
Source
formatted_duration

Human-friendly duration formatted as HH:MM:SS or MM:SS

Source
genre
Source
genre=(genre : String | Nil)
Source
publisher
Source
publisher=(publisher : String | Nil)
Source
rating
Source
rating=(rating : String | Nil)
Source
title
Source
title=(title : String | Nil)
Source
to_h

Converts metadata fields to a Crystal Hash

Source
to_s(io : IO) : Void

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
track_number
Source
track_number=(track_number : String | Nil)
Source