botwave icon indicating copy to clipboard operation
botwave copied to clipboard

Issue with broadcast managment in bw-client

Open douxxtech opened this issue 1 year ago • 9 comments

I'm running the latest version, commit 2daac4385f9573b7b5d248b852d73bd7ba94b6b0.
When we first run start client file.wav, everything works, but then, if we wait for the file to end, the exit isnt handeled correctly, and it doesnt seems to process it very well. if then we replay a file, it says

[BCAST] Playing /opt/BotWave/uploads/collectathon.wav (Duration: 85.0s) at 88.5MHz (PS: BotWave)
[INFO] Using bw_custom backend (76.0-108.0MHz, with RDS)
[INFO] PiWave initialized - Frequency: 88.5MHz, PS: BotWave, Loop: False
[BCAST] PiWave broadcast started for collectathon.wav
[WARN] Stopping...
[BCAST] Playing /opt/BotWave/uploads/collectathon.wav (Duration: 85.0s) at 88.5MHz (PS: BotWave)
[OK] Stopped
[INFO] Cleanup completed
[BCAST] PiWave stopped

and the says no broadcast running, but the thing is running, and doesnt seems handeled by the py process anymore since, when we exit, it continues playing. had to kill manually with sudo pkill bw_custom

douxxtech avatar Nov 18 '25 20:11 douxxtech

i couldnt reproduce today, strange. tho ik that after a broadcast finished, we now can do stop client and it will stop an inexistant broadcast

douxxtech avatar Nov 19 '25 10:11 douxxtech

Hi again! New feature, sync command to skip existing files with the same name or hash

Because if we add like 5 new files and run the sync, it will take a LONG time with a big folder if we have to replace all of them, and there's the SD issues the more writing, the less lifespan.

Also I don't know but I think I've had the same issue, after playing some files, no matter what I typed, I had to press Ctrl c and exit to be able to play files again, not sure if that was the issue since I was running this headless.

DefaultUser9148 avatar Nov 19 '25 12:11 DefaultUser9148

And sometimes the sync thing completes a file 100% and then says timeout waiting for confirmation even if the file was synced

DefaultUser9148 avatar Nov 19 '25 12:11 DefaultUser9148

New feature, sync command to skip existing files with the same name or hash

hey ! yea why not, it could be interresting to do !

Also I don't know but I think I've had the same issue, after playing some files, no matter what I typed, I had to press Ctrl c and exit to be able to play files again, not sure if that was the issue since I was running this headless.

it's eventually the same, i think it has to do with the new update, i'll investigate on it

And sometimes the sync thing completes a file 100% and then says timeout waiting for confirmation even if the file was synced

Thats also a "protocol" issue that i should fully redo ._.

douxxtech avatar Nov 19 '25 13:11 douxxtech

No matter how many errors this has, its still going to be so, fucking, impressive.

How even discovered this and knew the exact pin the antenna is anyways

DefaultUser9148 avatar Nov 19 '25 13:11 DefaultUser9148

How even discovered this and knew the exact pin the antenna is anyways

Well yk ppl can be inventive lmao :) from what i remember the backend uses the rpi clock to emulate frequencies, and with a pis specifications manual it can be quite easy to find the pin ig. If you're interested in this, you might want to read this wiki https://web.archive.org/web/20190301173003/https://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter

douxxtech avatar Nov 19 '25 13:11 douxxtech

Hell yeah imma be reading that, thanks. I wonder what crazy stuff people will do with such small electronics like the Pi or Flipper etc...

On Wed, Nov 19, 2025, 15:24 Douxx @.***> wrote:

douxxtech left a comment (dpipstudio/botwave#10) https://github.com/dpipstudio/botwave/issues/10#issuecomment-3552691734

How even discovered this and knew the exact pin the antenna is anyways

Well yk ppl can be inventive lmao :) from what i remember the backend uses the rpi clock to emulate frequencies, and with a pis specifications manual it can be quite easy to find the pin ig. If you're interested in this, you might want to read this wiki

https://web.archive.org/web/20190301173003/https://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter

— Reply to this email directly, view it on GitHub https://github.com/dpipstudio/botwave/issues/10#issuecomment-3552691734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXX6NI7AX5QVGHT6AGHWH7D35RVSBAVCNFSM6AAAAACMP5IHRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNJSGY4TCNZTGQ . You are receiving this because you commented.Message ID: @.***>

DefaultUser9148 avatar Nov 19 '25 13:11 DefaultUser9148

I'm running the latest version, commit 2daac4385f9573b7b5d248b852d73bd7ba94b6b0. When we first run start client file.wav, everything works, but then, if we wait for the file to end, the exit isnt handeled correctly, and it doesnt seems to process it very well. if then we replay a file, it says

[BCAST] Playing /opt/BotWave/uploads/collectathon.wav (Duration: 85.0s) at 88.5MHz (PS: BotWave)
[INFO] Using bw_custom backend (76.0-108.0MHz, with RDS)
[INFO] PiWave initialized - Frequency: 88.5MHz, PS: BotWave, Loop: False
[BCAST] PiWave broadcast started for collectathon.wav
[WARN] Stopping...
[BCAST] Playing /opt/BotWave/uploads/collectathon.wav (Duration: 85.0s) at 88.5MHz (PS: BotWave)
[OK] Stopped
[INFO] Cleanup completed
[BCAST] PiWave stopped

and the says no broadcast running, but the thing is running, and doesnt seems handeled by the py process anymore since, when we exit, it continues playing. had to kill manually with sudo pkill bw_custom

Fixed, please update with bw-update

douxxtech avatar Nov 23 '25 15:11 douxxtech

yayayay

DefaultUser9148 avatar Nov 24 '25 08:11 DefaultUser9148