Commit Graph

13 Commits

Author SHA1 Message Date
b378fec3b2 refactor: reorganize into internal packages, fix critical panics and error handling
Some checks failed
gobuild / build (push) Failing after 4s
Move browser, config, player, and radio logic into internal/{config,radio,player,ui,version}.
Add cached API host resolution, context-aware HTTP client, and nil/length guards to eliminate
RandomIP, nslookup, reverseLookup, and GetStations panics. Replace subExecute with clean
legacyPlayer using Run-only execution. Fix inverted -short test guards, unformatted config
error messages, and "Erorr" typo. Remove obsolete vendor/GOPATH logic from build scripts.
Update callers in stations.go and radiomenu.go to new paths; retain shims for transition.
2026-06-05 21:10:54 +01:00
Greg Gauthier
fd70f428ae fixes for windows 2024-07-09 21:29:11 +01:00
1cbf1c542e add build script with versioning 2021-03-18 22:24:46 +00:00
702edbc7a4 add a makeshift versioning for the executable to distinguish each build 2021-03-18 21:14:53 +00:00
Greg Gauthier
73dc128eb9 add a check for the console stream player 2021-03-17 07:17:09 +00:00
0d9068ef90 radio menu first pass, complete 2021-03-16 23:06:20 +00:00
Greg Gauthier
90907d0d05 brain storm: allow toggling of down station display; default to no 2021-03-16 20:17:10 +00:00
Greg Gauthier
35819226bf done for the night 2021-03-16 19:55:59 +00:00
Greg Gauthier
16e0fdd9de clean up the help display; fine-tune the parsing; prepare for the menu 2021-03-16 19:27:52 +00:00
Greg Gauthier
a06bc91576 json parsing: GO! next up: generate the menu... 2021-03-16 16:42:30 +00:00
Greg Gauthier
3da2da7d4b set up the ip reverse lookup for the api host, and start figuring out the json parsing 2021-03-16 14:46:28 +00:00
Greg Gauthier
70c0204128 setup comamnd line argument parsing 2021-03-16 13:09:27 +00:00
Greg Gauthier
237155552a completed the config port 2021-03-16 12:32:59 +00:00