Sha256: cf6a19e32ce041c17d142bc922829926cdf7bb166bf6524764a3288d00adac96

Contents?: true

Size: 751 Bytes

Versions: 1

Compression:

Stored size: 751 Bytes

Contents

require 'active_support'
require 'active_support/core_ext'
require 'applescript'
require 'byebug' if ENV['DEBUGGER']
require 'htmlentities'
require 'logger'

lib_path = "#{__dir__}/kagu"

module Kagu

  IS_MAC_OS = RUBY_PLATFORM =~ /darwin/
  OSX_APP_NAME = begin
    if IS_MAC_OS
      `sw_vers -productVersion`.chomp.to_f >= 10.15 ? 'Music' : 'iTunes'
    else
      nil
    end
  end

  mattr_accessor :logger, instance_writer: false, instance_reader: false
  self.logger = Logger.new(nil)

end

require "#{lib_path}/attributes_initializer"
require "#{lib_path}/error"
require "#{lib_path}/finder"
require "#{lib_path}/library"
require "#{lib_path}/playlist"
require "#{lib_path}/playlists"
require "#{lib_path}/track"
require "#{lib_path}/tracks"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kagu-2.0.3 lib/kagu.rb