piwave 2.1.11__py3-none-any.whl → 2.1.12__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.
piwave/piwave.py CHANGED
@@ -368,6 +368,7 @@ class PiWave:
368
368
  if self.stop_event.is_set():
369
369
  break
370
370
  if chunk:
371
+ Log.debug(f"Producer: sending chunk of {len(chunk)} bytes")
371
372
  self.audio_queue.put(chunk, timeout=1)
372
373
 
373
374
  elif callable(audio_source):
@@ -375,6 +376,7 @@ class PiWave:
375
376
  chunk = audio_source()
376
377
  if not chunk:
377
378
  break
379
+ Log.debug(f"Producer: sending chunk of {len(chunk)} bytes")
378
380
  self.audio_queue.put(chunk, timeout=1)
379
381
 
380
382
  elif hasattr(audio_source, 'read'):
@@ -382,9 +384,8 @@ class PiWave:
382
384
  chunk = audio_source.read(chunk_size)
383
385
  if not chunk:
384
386
  break
387
+ Log.debug(f"Producer: sending chunk of {len(chunk)} bytes")
385
388
  self.audio_queue.put(chunk, timeout=1)
386
-
387
- Log.debug(f"Producer: sending chunk of {len(chunk)} bytes")
388
389
 
389
390
  except Exception as e:
390
391
  Log.error(f"Producer error: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: piwave
3
- Version: 2.1.11
3
+ Version: 2.1.12
4
4
  Summary: A python module to broadcast radio waves with your Raspberry Pi.
5
5
  Home-page: https://github.com/douxxtech/piwave
6
6
  Author: Douxx
@@ -1,13 +1,13 @@
1
1
  piwave/__init__.py,sha256=jz2r-qclltKTxJjlGnqhAwIlUgjvRTR31f4hjTHP5NA,230
2
2
  piwave/__main__.py,sha256=-Z3RI7TiicE5UwWc4dZaHX82-MpwVXWkfMZXOC457_Q,4089
3
3
  piwave/logger.py,sha256=jpsM3tTPTxuhojtSJbfLq4nDFxOjojSSOrtYDGl_oTw,1353
4
- piwave/piwave.py,sha256=Uu6KH03jOtsrgogswjxgPwvQtB51R_oJ539UunNedEQ,30873
4
+ piwave/piwave.py,sha256=ZXs2Ay1IY1jvW6Zu-QDdjGjsHOD_yp1Fnrf_qEFBW9I,31029
5
5
  piwave/backends/__init__.py,sha256=DUbdyYf2V2XcDB05vmFWEkuJ292YTNiNJjzh1raJ5Cg,3756
6
6
  piwave/backends/base.py,sha256=GI8IBinGii09F3AAuy9n9t59LlSEJAIkRiwwTcupWtM,8258
7
7
  piwave/backends/fm_transmitter.py,sha256=Wzsoyi5hqLLZF5eNPmZ7WFvP27OMs2ywJlwrJVut-8w,1403
8
8
  piwave/backends/pi_fm_rds.py,sha256=VjcbFeje8LHVr4cBjlL36IcvA3WRfI1hHSGG2ui8Pb0,1467
9
- piwave-2.1.11.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
10
- piwave-2.1.11.dist-info/METADATA,sha256=EMd5DXvCMkjPCn9cl34y_PXJLLJrGYtNXFt2ndCjEh4,20821
11
- piwave-2.1.11.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
12
- piwave-2.1.11.dist-info/top_level.txt,sha256=xUbZ7Rk6OymSdDxmb9bfO8N-avJ9VYxP41GnXfwKYi8,7
13
- piwave-2.1.11.dist-info/RECORD,,
9
+ piwave-2.1.12.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
10
+ piwave-2.1.12.dist-info/METADATA,sha256=xeVahhhc_mYAr56tIJFa-QsBtiSYA4K0JlNLpC6pxJ4,20821
11
+ piwave-2.1.12.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
12
+ piwave-2.1.12.dist-info/top_level.txt,sha256=xUbZ7Rk6OymSdDxmb9bfO8N-avJ9VYxP41GnXfwKYi8,7
13
+ piwave-2.1.12.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.10.1)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5