ruby-mopidy 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 348dab004b0070e37bb5d0a50ae13d6626213fad91d3993f8aaa16f21e59b90d
4
+ data.tar.gz: 1f6984ef19e3db31035838f2b12b56cab7376d52ce7007f99e85b633a2868ad2
5
+ SHA512:
6
+ metadata.gz: 49c02903a86f0e064d9bb5de90a91cbcd0ae41b1e69c54ac5fb88aa1e89ca13ad128e77589a4aa92f4a91bb739b060331945a6e37d2a49168a7790cefab638d8
7
+ data.tar.gz: ba5c4d1f8792d4125cc80dec1d1515b721b41d27aab465acb08f7565f5c4392a273ee304478f6c5e06d67973503282672c2815e6ec74021c91dcb39d07e70c21
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group :test do
4
+ gem 'webmock', '~> 1.22', '>= 1.22.6'
5
+ end
6
+
7
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 khisakuni
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,179 @@
1
+ # Mopidy
2
+
3
+ A lightweight wrapper around the Mopidy music server API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'mopidy'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install mopidy
20
+
21
+ ## Usage
22
+
23
+ The gem is divided into modules that reflect the controllers in the [Mopidy core API](https://docs.mopidy.com/en/latest/api/core).
24
+ Currently, the supported modules are `Library`, `Playback`, `Playlist`, and `Tracklist`.
25
+
26
+ ### Configuration
27
+
28
+ To configure the url that the gem makes requests to:
29
+ ```ruby
30
+ Mopidy.configure do |config|
31
+ config.mopidy_url = 'http://localhost:6680/mopidy/rpc' # This is the default
32
+ end
33
+ ```
34
+
35
+ ### Tracklist
36
+
37
+ This is the module that interfaces with [Mopidy's tracklist controller](https://docs.mopidy.com/en/latest/api/core/#tracklist-controller)
38
+
39
+ To get the tracks in the tracklist:
40
+ ```ruby
41
+ Mopidy::Tracklist.tracks
42
+ ```
43
+
44
+ To get the index of the currently playing track:
45
+ ```ruby
46
+ Mopidy::Tracklist.index
47
+ ```
48
+
49
+ To get the tracks in the tracklist as `TLTRack`s
50
+ ```ruby
51
+ Mopidy::Tracklist.tl_tracks
52
+ ```
53
+
54
+ To add a track to the tracklist:
55
+ ```ruby
56
+ Mopidy::Tracklist.add(uri: 'example-track-uri')
57
+ ```
58
+
59
+ To get the length of the tracklist:
60
+ ```ruby
61
+ Mopidy::Tracklist.length
62
+ ```
63
+
64
+ To clear the tracks from the tracklist:
65
+ ```ruby
66
+ Mopidy::Tracklist.clear
67
+ ```
68
+
69
+ ### Library
70
+
71
+ This is the module that interfaces with [Mopidy's Library controller](https://docs.mopidy.com/en/latest/api/core/#library-controller)
72
+
73
+ To search for tracks, artists, playlists, and albums using a keyword:
74
+ ```ruby
75
+ Mopidy::Library.search('queen')
76
+ ```
77
+
78
+ To search for tracks by artist, album, or track:
79
+ ```ruby
80
+ Mopidy::Library.search_tracks('bicycle')
81
+ ```
82
+
83
+ To lookup a track by it's uri:
84
+
85
+ ```ruby
86
+ Mopidy::Library.lookup('example-uri')
87
+ ```
88
+
89
+ ### Playlist
90
+
91
+ This is the module that interfaces with [Mopidy's Playlist controller](https://docs.mopidy.com/en/latest/api/core/#playlist-controller)
92
+
93
+ To get a list of playlists:
94
+ ```ruby
95
+ Mopidy::Playlist.as_list
96
+ ```
97
+
98
+ To lookup a playlist by it's uri
99
+ ```ruby
100
+ Mopidy::Playlist.lookup('playlist-uri')
101
+ ```
102
+
103
+ ### Playback
104
+
105
+ This is the module that interfaces with [Mopidy's Playback controller](https://docs.mopidy.com/en/latest/api/core/#playlist-controller)
106
+
107
+ To play:
108
+ ```ruby
109
+ Mopidy::Playback.play
110
+ ```
111
+
112
+ To pause:
113
+ ```ruby
114
+ Mopidy::Playback.pause
115
+ ```
116
+
117
+ To resume:
118
+ ```ruby
119
+ Mopidy::Playback.resume
120
+ ```
121
+
122
+ To stop:
123
+ ```ruby
124
+ Mopidy::Playback.stop
125
+ ```
126
+
127
+ To get the playback state:
128
+ ```ruby
129
+ Mopidy::Playback.state
130
+ ```
131
+
132
+ To get the current time position:
133
+ ```ruby
134
+ Mopidy::Playback.time_position
135
+ ```
136
+
137
+ To seek to a time position:
138
+ ```ruby
139
+ time_position = 1000 # Time position in milliseconds
140
+ Mopidy::Playback.seek(time_position)
141
+ ```
142
+
143
+ To get the currently playing track:
144
+ ```ruby
145
+ Mopidy::Playback.current_track
146
+ ```
147
+
148
+ To skip to the next track:
149
+ ```ruby
150
+ Mopidy::Playback.next
151
+ ```
152
+
153
+ ### Mixer
154
+
155
+ To get the current volume
156
+
157
+ ```
158
+ Mopidy::Mixer.volume.body # => 100
159
+ ```
160
+
161
+ To set the volume to 50
162
+ ```
163
+ Mopidy::Mixer.volume(50)
164
+ ```
165
+
166
+ ## Development
167
+
168
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
169
+
170
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
171
+
172
+ ## Contributing
173
+
174
+ Bug reports and pull requests are welcome on GitHub at https://github.com/khisakuni/mopidy.
175
+
176
+
177
+ ## License
178
+
179
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mopidy"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'rspec' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require "pathname"
10
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require "rubygems"
14
+ require "bundler/setup"
15
+
16
+ load Gem.bin_path("rspec-core", "rspec")
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,45 @@
1
+ require 'mopidy/version'
2
+ require 'mopidy/library'
3
+ require 'mopidy/playback'
4
+ require 'mopidy/playlist'
5
+ require 'mopidy/tracklist'
6
+ require 'mopidy/mixer'
7
+ require 'mopidy/response'
8
+ require 'mopidy/http'
9
+ require 'json'
10
+ require 'httparty'
11
+
12
+ module Mopidy
13
+ class << self
14
+ attr_accessor :configuration
15
+ end
16
+
17
+ def self.configure
18
+ self.configuration ||= Configuration.new
19
+ yield configuration
20
+ end
21
+
22
+ class Configuration
23
+ attr_accessor :mopidy_url
24
+ attr_accessor :http_provider
25
+
26
+ def initialize
27
+ @mopidy_url = 'http://localhost:6680/mopidy/rpc'
28
+ @http_provider = HTTParty
29
+ end
30
+ end
31
+
32
+ def self.format_json(id, method, params = {})
33
+ {
34
+ 'jsonrpc': '2.0',
35
+ 'id': id,
36
+ 'method': method,
37
+ 'params': params
38
+ }.to_json
39
+ end
40
+
41
+ def self.post(body)
42
+ headers = { 'Content-Type' => 'application/json' }
43
+ res = Http.post(configuration.mopidy_url, body, headers)
44
+ end
45
+ end
@@ -0,0 +1,11 @@
1
+ require 'mopidy/response'
2
+
3
+ module Mopidy
4
+ class Http
5
+ def self.post(url, body, headers)
6
+ http_provider = Mopidy.configuration.http_provider
7
+ res = http_provider.post(url, body: body, headers: headers)
8
+ Response.new(res)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,36 @@
1
+ require 'mopidy/response'
2
+
3
+ module Mopidy
4
+ module Library
5
+ def self.search_tracks(keyword)
6
+ res = search(keyword)
7
+ tracks = parse_search_response(res, 'tracks')
8
+ format_response(tracks, res.status)
9
+ end
10
+
11
+ def self.lookup(uri)
12
+ json = Mopidy.format_json(1, 'core.library.lookup', 'uri': uri)
13
+ res = Mopidy.post(json)
14
+ res.body.empty? ? res : format_response(res.body.first, res.status)
15
+ end
16
+
17
+ def self.search(keyword)
18
+ json = Mopidy.format_json(1, 'core.library.search', [{ 'any': keyword }])
19
+ Mopidy.post(json)
20
+ end
21
+
22
+ private
23
+
24
+ def self.parse_search_response(response, type)
25
+ data = response.body.first[type]
26
+ end
27
+
28
+ def self.format_response(data, status_code)
29
+ new_response = OpenStruct.new(
30
+ parsed_response: { 'result' => data },
31
+ code: status_code
32
+ )
33
+ Mopidy::Response.new(new_response)
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,13 @@
1
+ module Mopidy
2
+ module Mixer
3
+ def self.volume
4
+ json = Mopidy.format_json(1, 'core.mixer.get_volume')
5
+ Mopidy.post(json)
6
+ end
7
+
8
+ def self.volume=(value)
9
+ json = Mopidy.format_json(1, 'core.mixer.set_volume', [value])
10
+ Mopidy.post(json)
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,50 @@
1
+ module Mopidy
2
+ module Playback
3
+ def self.play(tracklist_track_id = nil)
4
+ params = { 'tlid': tracklist_track_id }
5
+ json = Mopidy.format_json(1, 'core.playback.play', params)
6
+ Mopidy.post(json)
7
+ end
8
+
9
+ def self.stop
10
+ json = Mopidy.format_json(1, 'core.playback.stop')
11
+ Mopidy.post(json)
12
+ end
13
+
14
+ def self.pause
15
+ json = Mopidy.format_json(1, 'core.playback.pause')
16
+ Mopidy.post(json)
17
+ end
18
+
19
+ def self.resume
20
+ json = Mopidy.format_json(1, 'core.playback.resume')
21
+ Mopidy.post(json)
22
+ end
23
+
24
+ def self.state
25
+ json = Mopidy.format_json(1, 'core.playback.get_state')
26
+ Mopidy.post(json)
27
+ end
28
+
29
+ def self.time_position
30
+ json = Mopidy.format_json(1, 'core.playback.get_time_position')
31
+ Mopidy.post(json)
32
+ end
33
+
34
+ def self.seek(time_position)
35
+ params = { 'time_position': time_position }
36
+ json = Mopidy.format_json(1, 'core.playback.seek', params)
37
+ Mopidy.post(json)
38
+ end
39
+
40
+ def self.current_track
41
+ json = Mopidy.format_json(1, 'core.playback.get_current_track')
42
+ Mopidy.post(json)
43
+ end
44
+
45
+ def self.next
46
+ json = Mopidy.format_json(1, 'core.playback.next')
47
+ Mopidy.post(json)
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,18 @@
1
+ module Mopidy
2
+ module Playlist
3
+ def self.as_list
4
+ json = Mopidy.format_json(1, 'core.playlists.as_list')
5
+ Mopidy.post(json)
6
+ end
7
+
8
+ def self.lookup(uri)
9
+ json = Mopidy.format_json(1, 'core.playlists.lookup', [uri])
10
+ Mopidy.post(json)
11
+ end
12
+
13
+ def self.save(playlist)
14
+ json = Mopidy.format_json(1, 'core.playlists.save', playlist: playlist)
15
+ Mopidy.post(json)
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,29 @@
1
+ module Mopidy
2
+ class Response
3
+ def initialize(response)
4
+ @response = response
5
+ end
6
+
7
+ def status
8
+ @response.code
9
+ end
10
+
11
+ def body
12
+ has_error?(@response) ? parse_error(@response) : parse_response(@response)
13
+ end
14
+
15
+ private
16
+
17
+ def has_error?(response)
18
+ response.parsed_response['result'].nil?
19
+ end
20
+
21
+ def parse_response(response)
22
+ response.parsed_response['result']
23
+ end
24
+
25
+ def parse_error(response)
26
+ response.parsed_response['error']
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,66 @@
1
+ module Mopidy
2
+ module Tracklist
3
+ def self.load_playlist(playlist)
4
+ clear
5
+ playlist[:tracks].each do |track|
6
+ add(track)
7
+ end
8
+ end
9
+
10
+ def self.tracks
11
+ json = Mopidy.format_json(1, 'core.tracklist.get_tracks')
12
+ Mopidy.post(json)
13
+ end
14
+
15
+ def self.index
16
+ json = Mopidy.format_json(1, 'core.tracklist.index')
17
+ Mopidy.post(json)
18
+ end
19
+
20
+ def self.shuffle(start_index, end_index)
21
+ params = { 'start': start_index, 'end': end_index }
22
+ json = Mopidy.format_json(1, 'core.tracklist.shuffle', params)
23
+ Mopidy.post(json)
24
+ end
25
+
26
+ def self.tl_tracks
27
+ json = Mopidy.format_json(1, 'core.tracklist.get_tl_tracks')
28
+ Mopidy.post(json)
29
+ end
30
+
31
+ def self.add(track)
32
+ json = Mopidy.format_json(1, 'core.tracklist.add', 'uris': [track[:uri]])
33
+ Mopidy.post(json)
34
+ end
35
+
36
+ def self.length
37
+ json = Mopidy.format_json(1, 'core.tracklist.get_length')
38
+ Mopidy.post(json)
39
+ end
40
+
41
+ def self.clear
42
+ json = Mopidy.format_json(1, 'core.tracklist.clear')
43
+ Mopidy.post(json)
44
+ end
45
+
46
+ def self.repeat
47
+ json = Mopidy.format_json(1, 'core.tracklist.get_repeat')
48
+ Mopidy.post(json)
49
+ end
50
+
51
+ def self.repeat=(value)
52
+ json = Mopidy.format_json(1, 'core.tracklist.set_repeat', [!!value])
53
+ Mopidy.post(json)
54
+ end
55
+
56
+ def self.single
57
+ json = Mopidy.format_json(1, 'core.tracklist.get_single')
58
+ Mopidy.post(json)
59
+ end
60
+
61
+ def self.single=(value)
62
+ json = Mopidy.format_json(1, 'core.tracklist.set_single', [!!value])
63
+ Mopidy.post(json)
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,3 @@
1
+ module Mopidy
2
+ VERSION = "0.2.1"
3
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mopidy/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'ruby-mopidy'
8
+ spec.version = Mopidy::VERSION
9
+ spec.authors = ['khisakuni', 'ares']
10
+ spec.email = ['kohei@gophilosophie.com', 'ares@igloonet.com']
11
+
12
+ spec.summary = 'A wrapper around the Mopidy API.'
13
+ spec.homepage = 'https://github.com/ares/mopidy'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = 'exe'
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_dependency 'httparty'
22
+
23
+ spec.add_development_dependency 'bundler'
24
+ spec.add_development_dependency 'rake'
25
+ spec.add_development_dependency 'rspec'
26
+ spec.add_development_dependency 'pry'
27
+ end
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-mopidy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ platform: ruby
6
+ authors:
7
+ - khisakuni
8
+ - ares
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2021-01-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: httparty
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bundler
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rake
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rspec
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: pry
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ description:
85
+ email:
86
+ - kohei@gophilosophie.com
87
+ - ares@igloonet.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".travis.yml"
95
+ - Gemfile
96
+ - LICENSE.txt
97
+ - README.md
98
+ - Rakefile
99
+ - bin/console
100
+ - bin/rspec
101
+ - bin/setup
102
+ - lib/mopidy.rb
103
+ - lib/mopidy/http.rb
104
+ - lib/mopidy/library.rb
105
+ - lib/mopidy/mixer.rb
106
+ - lib/mopidy/playback.rb
107
+ - lib/mopidy/playlist.rb
108
+ - lib/mopidy/response.rb
109
+ - lib/mopidy/tracklist.rb
110
+ - lib/mopidy/version.rb
111
+ - mopidy.gemspec
112
+ homepage: https://github.com/ares/mopidy
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ requirements: []
131
+ rubygems_version: 3.0.3
132
+ signing_key:
133
+ specification_version: 4
134
+ summary: A wrapper around the Mopidy API.
135
+ test_files: []