awslive-inputlooper 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awslive-inputlooper/input_looper.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f38cc6fb5deeeefc6f4c2328d847f17e760b39840a49d15d8155598dc30668b
|
4
|
+
data.tar.gz: 12fca92cf91009f6ee13d07a7b3d4443573ebd2a99b383434ba61975cfe523da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f9d93fb3b0555727fe5fe02c33100f451efee1a6579480012c33082a86fdd456e58a81e89e0595f489b00cafb6986836fdbc134d1dfb227c6d978b935b67c0
|
7
|
+
data.tar.gz: fa4a5908185e970b2956b036d0d9d3594094985bc169073880840d9a7e583d41e61d09239bef3563121d8d0aa00575ec33ed86e63f04d298a5df6d56459a069e
|
@@ -194,9 +194,11 @@ module Awslive
|
|
194
194
|
if is_duplicated
|
195
195
|
p_order = get_order(playlist_file)
|
196
196
|
c_order = get_order(file_url[0])
|
197
|
-
|
197
|
+
log("playlist Order #{p_order} : current order #{c_order}")
|
198
198
|
end
|
199
|
-
|
199
|
+
log("is Duplicated #{is_duplicated} porder #{p_order} corder #{c_order} ")
|
200
|
+
next if is_duplicated && !p_order.nil? && !c_order.nil? && p_order != c_order && index != (@playlist.length - 1)
|
201
|
+
#puts "passed Next #{index} and #{@playlist.length}"
|
200
202
|
if index == (@playlist.length - 1)
|
201
203
|
if !loopback
|
202
204
|
next_file = nil
|
@@ -205,6 +207,7 @@ module Awslive
|
|
205
207
|
next_file = @playlist[0]
|
206
208
|
else
|
207
209
|
next_file = @playlist[index + 1]
|
210
|
+
break
|
208
211
|
end
|
209
212
|
end
|
210
213
|
end
|
@@ -357,4 +360,4 @@ module Awslive
|
|
357
360
|
@scheduler.delete_all(@channel_id)
|
358
361
|
end
|
359
362
|
end
|
360
|
-
end
|
363
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awslive-inputlooper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maheshwaran G
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|