2012-07-04 13:10:47 +00:00
|
|
|
# -*- encoding: utf-8 -*-
|
2012-07-08 22:22:23 +00:00
|
|
|
|
2012-07-04 13:10:47 +00:00
|
|
|
module MusicBrainz
|
2012-07-08 22:22:23 +00:00
|
|
|
class << self
|
|
|
|
def query_interval
|
|
|
|
$stdout.send :puts, "WARNING! MusicBrainz.query_interval is deprecated. Use MusicBrainz::Tools::Proxy.query_interval"
|
|
|
|
MusicBrainz::Tools::Proxy.query_interval
|
|
|
|
end
|
|
|
|
|
|
|
|
def query_interval=(sec)
|
|
|
|
$stdout.send :puts, "WARNING! MusicBrainz.query_interval= is deprecated. Use MusicBrainz::Tools::Proxy.query_interval"
|
|
|
|
MusicBrainz::Tools::Proxy.query_interval = sec
|
|
|
|
end
|
|
|
|
|
|
|
|
def cache_path
|
|
|
|
$stdout.send :puts, "WARNING! MusicBrainz.cache_path is deprecated. Use MusicBrainz::Tools::Cache.cache_path"
|
|
|
|
MusicBrainz::Tools::Cache.cache_path
|
|
|
|
end
|
2012-07-04 13:10:47 +00:00
|
|
|
|
2012-07-08 22:22:23 +00:00
|
|
|
def cache_path=(path)
|
|
|
|
$stdout.send :puts, "WARNING! MusicBrainz.cache_path= is deprecated. Use MusicBrainz::Tools::Cache.cache_path"
|
|
|
|
MusicBrainz::Tools::Cache.cache_path = path
|
|
|
|
end
|
2012-07-04 13:10:47 +00:00
|
|
|
end
|
|
|
|
end
|