# name: musicbrainz-onebox
# about: OneBox preview for MusicBrainz.org
# version: 0.6.0
# authors: Philipp Wolfer <ph.wolfer@gmail.com>
# url: https://github.com/phw/discourse-musicbrainz-onebox

require_relative 'engine/musicbrainz_artist_onebox'
require_relative 'engine/musicbrainz_event_onebox'
require_relative 'engine/musicbrainz_label_onebox'
require_relative 'engine/musicbrainz_place_onebox'
require_relative 'engine/musicbrainz_recording_onebox'
require_relative 'engine/musicbrainz_release_onebox'
require_relative 'engine/musicbrainz_releasegroup_onebox'
require_relative 'engine/musicbrainz_work_onebox'

enabled_site_setting :musicbrainz_load_wikimedia_images

register_asset "stylesheets/musicbrainz.scss"

Onebox.options.load_paths.push(File.join(File.dirname(__FILE__), "templates"))

# name: musicbrainz-onebox
# about: OneBox preview for MusicBrainz.org
# version: 0.6.0
# authors: Philipp Wolfer <ph.wolfer@gmail.com>
# url: https://github.com/phw/discourse-musicbrainz-onebox

require 'onebox'

require_relative 'engine/musicbrainz_artist_onebox'
require_relative 'engine/musicbrainz_event_onebox'
require_relative 'engine/musicbrainz_label_onebox'
require_relative 'engine/musicbrainz_place_onebox'
require_relative 'engine/musicbrainz_recording_onebox'
require_relative 'engine/musicbrainz_release_onebox'
require_relative 'engine/musicbrainz_releasegroup_onebox'
require_relative 'engine/musicbrainz_work_onebox'

enabled_site_setting :musicbrainz_load_wikimedia_images

register_asset "stylesheets/musicbrainz.scss"

Onebox.options.load_paths.push(File.join(File.dirname(__FILE__), "templates"))

Fix missing require of onebox module
Fix missing require of onebox module

With Discourse 2.8 this does not seem to happen implicitlcy anymore
