muzak 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/muzak-index +2 -2
- data/bin/muzak-setup +32 -0
- data/lib/muzak.rb +1 -1
- metadata +19 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809d9fd5e4afee2f04affc8214c4f7c5a7980aa7
|
4
|
+
data.tar.gz: bacfe904636a5b9614082341d7a3d6b7358c691e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4afbbbf920fb553fbdd6cc19dc443a02c2425b5d919e735c7f8bd6988f9a2f9630fe5cf7f049e1f361633020b9e7c2864107d1b9dc5f474c7f0b0ea3e334d515
|
7
|
+
data.tar.gz: e99922aa6b052e5aa4799040b1f58cab6fc76617e5b199931f2983b06510a2c6d16ffd1823884a1cc5cf22d950bc5bcee54aea31c803ec9ecc72e8c1a8e1abc9
|
data/bin/muzak-index
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require "muzak"
|
4
4
|
|
5
|
-
VERSION =
|
5
|
+
VERSION = 2
|
6
6
|
|
7
7
|
OPTS = {
|
8
8
|
deep: !!(ARGV.delete("--deep") || ARGV.delete("-d")),
|
@@ -13,7 +13,7 @@ OPTS = {
|
|
13
13
|
|
14
14
|
def help
|
15
15
|
puts <<~EOS
|
16
|
-
Usage: #{$PROGRAM_NAME} [options]
|
16
|
+
Usage: #{$PROGRAM_NAME} [options] [tree] [index]
|
17
17
|
|
18
18
|
Options:
|
19
19
|
--deep, -d Build a "deep" index (contains metadata)
|
data/bin/muzak-setup
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "tty-prompt"
|
4
|
+
require "muzak"
|
5
|
+
|
6
|
+
VERSION = 1
|
7
|
+
|
8
|
+
prompt = TTY::Prompt.new
|
9
|
+
|
10
|
+
puts <<~EOS
|
11
|
+
Welcome to muzak's interactive setup.
|
12
|
+
This script is useful primarily for first-time users.
|
13
|
+
This WILL rewrite your configuration, so be careful about using it.
|
14
|
+
EOS
|
15
|
+
|
16
|
+
exit unless prompt.yes?("Continue?")
|
17
|
+
|
18
|
+
Muzak::Config.music = prompt.ask("Where is your music?",
|
19
|
+
default: Muzak::Config.music)
|
20
|
+
|
21
|
+
Muzak::Config.player = prompt.select("Select your player:",
|
22
|
+
Muzak::Player::PLAYER_NAMES)
|
23
|
+
|
24
|
+
puts <<~EOS
|
25
|
+
Congratulations! You should be (nearly) ready to use muzak.
|
26
|
+
The only thing remaining is to run the indexer:
|
27
|
+
muzak-index [--deep]
|
28
|
+
See the muzak-index's --help flag for more information on options.
|
29
|
+
Once the indexer finishes, just start the daemon:
|
30
|
+
muzakd
|
31
|
+
Once running, you'll be able to muzak through muzak-cmd and muzak-dmenu!
|
32
|
+
EOS
|
data/lib/muzak.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muzak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Woodruff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: taglib-ruby
|
@@ -58,6 +58,20 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 0.0.7
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: tty-prompt
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.10.0
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.10.0
|
61
75
|
description: A library for controlling playlists and media players.
|
62
76
|
email: william@tuffbizz.com
|
63
77
|
executables:
|
@@ -65,6 +79,7 @@ executables:
|
|
65
79
|
- muzak-cmd
|
66
80
|
- muzak-dmenu
|
67
81
|
- muzak-index
|
82
|
+
- muzak-setup
|
68
83
|
extensions: []
|
69
84
|
extra_rdoc_files: []
|
70
85
|
files:
|
@@ -76,6 +91,7 @@ files:
|
|
76
91
|
- bin/muzak-cmd
|
77
92
|
- bin/muzak-dmenu
|
78
93
|
- bin/muzak-index
|
94
|
+
- bin/muzak-setup
|
79
95
|
- bin/muzakd
|
80
96
|
- lib/muzak.rb
|
81
97
|
- lib/muzak/album.rb
|
@@ -117,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
133
|
version: '0'
|
118
134
|
requirements: []
|
119
135
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.6.8
|
121
137
|
signing_key:
|
122
138
|
specification_version: 4
|
123
139
|
summary: muzak - A metamusic player.
|