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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a808cc52ee361a7bad8e992f5b986e1d6bd7ad9106d0a4a99983e4d75173ba62
4
- data.tar.gz: 6afc3d0c102de956d418bd8a4e9ab0c732abc0d615d82f4a2499547ec5b6b376
3
+ metadata.gz: 0f38cc6fb5deeeefc6f4c2328d847f17e760b39840a49d15d8155598dc30668b
4
+ data.tar.gz: 12fca92cf91009f6ee13d07a7b3d4443573ebd2a99b383434ba61975cfe523da
5
5
  SHA512:
6
- metadata.gz: 76344f3ac9c93b5637fd0ec24aba60a7c1fc815eff27927957b7d3c0fcb39852de05f0bc2e738cd7ac0f8aa7a6c4b61eab7a0589975363fe2df7148c7cbcb3b0
7
- data.tar.gz: 4abb1f5ac234ce5768b0bc7d12c64134988be068f8018db611425ef2165c6d4d85fa30370577698eb9a06de64fb47acce51cb06ebcf629359b98fd129cd7be67
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
- puts "playlist Order #{p_order} : current order #{c_order}"
197
+ log("playlist Order #{p_order} : current order #{c_order}")
198
198
  end
199
- next if is_duplicated && !p_order.nil? && !c_order.nil? && p_order != c_order
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.3
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-08 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler