dubbletrack_remote 0.8.2 → 0.8.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/dubbletrack_remote/cli.rb +6 -6
- data/lib/dubbletrack_remote/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ffb748f6bce546d9021286ecabfd1c426d006de2aef9d2e299d65aad0eb8313
|
4
|
+
data.tar.gz: f8015b95dbcb6141070247c3e890828bbd811124c676b94e28cc0e40fcc8bb25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b5d34e2b55b30b92217bc92c2e251aa3990686d64b8ca350570cc3b448c88065d250bf474941472f4b16e32463e2437c236492dbfe7ee181bc8cdf6bb2270e
|
7
|
+
data.tar.gz: a125e37d84c20ebf70865fc993d7a8c89002a437ba38cdbd153bdcd407b8b0b2452932ab143c911ab2ecabd18c979bce9b10bf9009a088d31494d8a9055dacaa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
dubbletrack remote changelog
|
2
2
|
|
3
|
+
## [0.8.3](https://github.com/dubbletrack/remote/compare/v0.8.2...v0.8.3) (2024-07-10)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Update syntax for hash args ([9893e36](https://github.com/dubbletrack/remote/commit/9893e3662523b406d6e9532680476222b672e566))
|
9
|
+
|
3
10
|
## [0.8.2](https://github.com/dubbletrack/remote/compare/v0.8.1...v0.8.2) (2024-07-10)
|
4
11
|
|
5
12
|
|
@@ -18,7 +18,7 @@ module DubbletrackRemote
|
|
18
18
|
|
19
19
|
Reader.watch(watch_path, pattern: watch_pattern) do |file|
|
20
20
|
puts "detected change in #{file}"
|
21
|
-
Reader.new(file,
|
21
|
+
Reader.new(file, cuts_path: local_cuts_file).ingest
|
22
22
|
end
|
23
23
|
|
24
24
|
Thread.new do
|
@@ -64,7 +64,7 @@ module DubbletrackRemote
|
|
64
64
|
ensure_setup
|
65
65
|
|
66
66
|
if todays_playlist_path
|
67
|
-
[todays_playlist_path].flatten.each { |f| Reader.new(f,
|
67
|
+
[todays_playlist_path].flatten.each { |f| Reader.new(f, cuts_path: local_cuts_file).ingest }
|
68
68
|
else
|
69
69
|
puts "no file found matching pattern #{playlist_pattern}"
|
70
70
|
end
|
@@ -78,7 +78,7 @@ module DubbletrackRemote
|
|
78
78
|
if paths.any?
|
79
79
|
items = paths.collect do |path|
|
80
80
|
puts "reading #{path}"
|
81
|
-
items = Reader.new(path,
|
81
|
+
items = Reader.new(path, cuts_path: local_cuts_file).items
|
82
82
|
end.flatten.sort_by(&:played_at)
|
83
83
|
remaining = Item.where(id: items.pluck(:id)).remaining
|
84
84
|
|
@@ -110,7 +110,7 @@ module DubbletrackRemote
|
|
110
110
|
if paths.any?
|
111
111
|
items = paths.collect do |path|
|
112
112
|
puts "reading #{path}"
|
113
|
-
items = Reader.new(path,
|
113
|
+
items = Reader.new(path, cuts_path: local_cuts_file).items
|
114
114
|
end.flatten.sort_by(&:played_at)
|
115
115
|
|
116
116
|
items.each do |e|
|
@@ -129,7 +129,7 @@ module DubbletrackRemote
|
|
129
129
|
if paths.any?
|
130
130
|
paths.each do |path|
|
131
131
|
puts "importing #{path}"
|
132
|
-
items = Reader.new(path,
|
132
|
+
items = Reader.new(path, cuts_path: local_cuts_file).ingest
|
133
133
|
items.each { |e| puts e.pretty_print }
|
134
134
|
end
|
135
135
|
else
|
@@ -154,7 +154,7 @@ module DubbletrackRemote
|
|
154
154
|
if paths.any?
|
155
155
|
paths.each do |path|
|
156
156
|
puts "importing #{path}"
|
157
|
-
items = Reader.new(path,
|
157
|
+
items = Reader.new(path, cuts_path: local_cuts_file).ingest
|
158
158
|
items.each { |e| puts e.pretty_print }
|
159
159
|
end
|
160
160
|
else
|