sprocket-systems.coda.sdk 1.3.1__py3-none-any.whl → 1.3.2__py3-none-any.whl

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.
coda/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # The versions below will be replaced automatically in CI.
2
2
  # You do not need to modify any of the versions below.
3
- __version__ = "1.3.1"
3
+ __version__ = "1.3.2"
4
4
  CODA_APP_SUITE_VERSION = "+coda-1.72.0"
5
5
  FINAL_VERSION = __version__ + CODA_APP_SUITE_VERSION
6
6
 
coda/sdk.py CHANGED
@@ -203,14 +203,18 @@ class CodaEssence(object):
203
203
  opts = F['opts']
204
204
  f = F['url']
205
205
 
206
- label =""
207
- chlabels = ['Lsr','Rsr','Lts','Rts','Lss','Rss','Lfe','Ls','Rs','L','C','R']
208
- for ch in chlabels:
209
- if '.'+ch.upper()+'.' in f.upper():
210
- label = ch[0:1].upper()+ch[1:].lower()
211
- if ch=='Lfe':
212
- label = 'LFE'
213
- break
206
+ if 'channel_label' in F:
207
+ label = F['channel_label']
208
+ else:
209
+ label =""
210
+ chlabels = ['Lsr','Rsr','Lts','Rts','Lss','Rss','Lfe','Ls','Rs','L','C','R']
211
+ for ch in chlabels:
212
+ if '.'+ch.upper()+'.' in f.upper():
213
+ label = ch[0:1].upper()+ch[1:].lower()
214
+ if ch=='Lfe':
215
+ label = 'LFE'
216
+ break
217
+
214
218
  res ={
215
219
  'bit_depth' : quant,
216
220
  'sample_rate' : srate,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sprocket-systems.coda.sdk
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: The Coda SDK provides a Python interface to define Coda workflows, create jobs and run them.
5
5
  Keywords: python,coda,sdk
6
6
  Author-Email: Sprocket Systems <support@sprocket.systems>
@@ -0,0 +1,8 @@
1
+ coda/__init__.py,sha256=9Ps-oyYzXdgi2nKa84OaMl43O8kB5Q_GCNT38Al60m8,1034
2
+ coda/sdk.py,sha256=fF-MKjh183A-D4xbBqEdhFvKr4YAx1GYDjF0zSJZyio,70474
3
+ coda/tc_tools.py,sha256=hEtVE6xtPqg93WfJ-lQdRQroPdQTkH5HkMLWCIkwIlo,22010
4
+ sprocket_systems_coda_sdk-1.3.2.dist-info/METADATA,sha256=SzuQpezPJRER2GllclsPTv08LsLvA5h0hB3KrJzYnVU,1213
5
+ sprocket_systems_coda_sdk-1.3.2.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
6
+ sprocket_systems_coda_sdk-1.3.2.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
7
+ sprocket_systems_coda_sdk-1.3.2.dist-info/licenses/LICENSE,sha256=wrFjizFlraIAPW8JIteGftNH2laAZBBRhdEnPVUsKTM,10198
8
+ sprocket_systems_coda_sdk-1.3.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- coda/__init__.py,sha256=jwy8rTyy4tQIl9mKdctzPgRTAHCRheBigr6Xpn0h524,1034
2
- coda/sdk.py,sha256=yO8JT2wKfgmpfmus90Mg0OAloZdM9UtZQ3m_1a6Md2w,70343
3
- coda/tc_tools.py,sha256=hEtVE6xtPqg93WfJ-lQdRQroPdQTkH5HkMLWCIkwIlo,22010
4
- sprocket_systems_coda_sdk-1.3.1.dist-info/METADATA,sha256=HapeOTrAxijRIB-jeA22YcB7w6Yf0yJgZAx_QxRGqbw,1213
5
- sprocket_systems_coda_sdk-1.3.1.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
6
- sprocket_systems_coda_sdk-1.3.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
7
- sprocket_systems_coda_sdk-1.3.1.dist-info/licenses/LICENSE,sha256=wrFjizFlraIAPW8JIteGftNH2laAZBBRhdEnPVUsKTM,10198
8
- sprocket_systems_coda_sdk-1.3.1.dist-info/RECORD,,