-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodules.rb
125 lines (79 loc) · 2.51 KB
/
modules.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Put any autoloads in here.
$: << File.expand_path('../', __FILE__)
module Nerve
module Authentication
autoload :Authentication, "auth/authentication"
autoload :Simple, "auth/simple"
autoload :Cortex, "auth/cortex"
autoload :MSO, "auth/mso"
end
module Job
autoload :Job, 'jobs/job'
autoload :CleanUp, "jobs/cleanup"
autoload :Recall, "jobs/recall"
autoload :Process, "jobs/process"
autoload :Transfer, "jobs/transfer"
autoload :Update, "jobs/update"
end
module Migrate
autoload :Myriad, "migrate/myriad"
end
module Mixin
autoload :Mixin, "app/mixin/mixin"
autoload :Runner, "app/mixin/runner"
autoload :Spotify, "app/mixin/spotify"
end
module Playout
autoload :AudioWall, "playout/audiowall"
autoload :Myriad, "playout/myriad"
class AudioWall
autoload :Database, "playout/audiowall/database"
autoload :Export, "playout/audiowall/export"
end
class Myriad5
autoload :Database, "playout/myriad5/database"
autoload :Export, "playout/myriad5/export"
autoload :SignalR, "playout/myriad5/signalr"
autoload :RESClient, "playout/myriad5/res_client"
autoload :MediaWall, "playout/myriad5/mediawall"
end
end
module Provider
module Track
autoload :Spotify, "app/providers/track/spotify.rb"
autoload :MusixMatch, "app/providers/track/musixmatch.rb"
autoload :MusicBrainz, "app/providers/track/musicbrainz.rb"
autoload :Gracenote, 'app/providers/track/gracenote'
end
module Lyrics
autoload :MetroLyrics, "app/providers/lyrics/metrolyrics.rb"
autoload :MusixMatch, "app/providers/lyrics/musixmatch.rb"
autoload :Genius, "app/providers/lyrics/genius.rb"
end
end
module Services
autoload :Audio, "services/audio"
autoload :Helpers, "services/helpers"
autoload :Library, "services/library"
autoload :Login, "services/login"
autoload :Metadata, "services/metadata"
autoload :Moderation, "services/moderation"
autoload :Upload, "services/upload"
end
module Model
autoload :Album, "app/models/album"
autoload :Artist, "app/models/artist"
autoload :Track, "app/models/track"
autoload :TrackProvider, "app/models/track_provider"
autoload :CacheItem, "app/models/cache_item"
autoload :Setting, "app/models/setting"
autoload :User, "app/models/user"
end
module Exceptions
autoload :Error, "app/exceptions/error"
autoload :Success, "app/exceptions/success"
autoload :Failure, "app/exceptions/failure"
autoload :Reset, "app/exceptions/reset"
autoload :NoSuchUser, "app/exceptions/no_such_user"
end
end