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 +3 -2
- {piwave-2.1.11.dist-info → piwave-2.1.12.dist-info}/METADATA +1 -1
- {piwave-2.1.11.dist-info → piwave-2.1.12.dist-info}/RECORD +6 -6
- {piwave-2.1.11.dist-info → piwave-2.1.12.dist-info}/WHEEL +1 -1
- {piwave-2.1.11.dist-info → piwave-2.1.12.dist-info}/licenses/LICENSE +0 -0
- {piwave-2.1.11.dist-info → piwave-2.1.12.dist-info}/top_level.txt +0 -0
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,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=
|
|
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.
|
|
10
|
-
piwave-2.1.
|
|
11
|
-
piwave-2.1.
|
|
12
|
-
piwave-2.1.
|
|
13
|
-
piwave-2.1.
|
|
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,,
|
|
File without changes
|
|
File without changes
|