View Issue Details

IDProjectCategoryView StatusLast Update
0000345Internet RadioBugpublic2026-05-17 09:52
Reportermikee Assigned Tomikee  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionreopened 
PlatformRaspberry PiOSRaspbianOS VersionBuster
Summary0000345: Complete the alarm timer play code
Description

Complete the alarm timer play code.
Also add the ability to play local files.

A further issue: A midnight spanning alarm, if stopped to play something else, will not resume because make_alarms reconstructs the alarm list but now it's move on a a day so the alarm will now not play until the next evening.

TagsNo tags attached.
Attach Tags
GitLab/Hub Issue

Relationships

related to 0000350 closedmikee Stations and alarms lists should not be related or derivatives. 
related to 0000406 closedmikee When switching back to alarm mode, the alarm is not played if the alarm is past due time and it's after midnight.. 

Activities

git

2022-06-19 15:29

updater   ~0001171

Branch Bug-345 - commit 346d4f68f8fc5e0c6d1f114518ffb6a9adbfd902
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 15:29:14 2022 +0100

Kinda sorta working.

src/mcp23008.py
src/radio.py

git

2022-06-19 16:57

updater   ~0001172

Branch Bug-345 - commit ef207ccc53aea04a6e2388fadb80410d5313f819
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 16:32:47 2022 +0100

Some refactoring.

src/radio.py

git

2022-06-19 16:58

updater   ~0001173

Branch Bug-345 - commit d4e3a1b8c0845fb9916cca85b60c1b149cec0bed
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 16:58:07 2022 +0100

Change button code.

Invert the returned value.

src/mcp23008.py
src/radio.py

git

2022-06-19 17:04

updater   ~0001174

Branch Bug-345 - commit 2eb659b51a19ba6d2edbf0253c4c95a58286c01c
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 17:04:12 2022 +0100

Resume play on resume toggle.

src/radio.py

git

2022-06-19 17:14

updater   ~0001175

Branch Bug-345 - commit ceea0d6d301dd906846389507c1dc356e1f9d132
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 17:11:53 2022 +0100

Add function dividers.

src/radio.py

git

2022-06-19 17:14

updater   ~0001176

Branch Bug-345 - commit 8e644985377976b1d6e7f0ac6c0f1d8ccc7eadb8
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 17:14:06 2022 +0100

Add more, same.

src/radio.py

git

2022-06-19 18:45

updater   ~0001177

Branch Bug-345 - commit b4f74b2c31d251752c6f7121c102a11e305186d1
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 18:45:21 2022 +0100

Alarm starts and stops. Yay

src/playlist.json
src/radio.py

git

2022-06-19 20:24

updater   ~0001178

Branch Bug-345 - commit 2d8cfff7eb172a402c3f03072317a33427f4e7f9
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 18:51:48 2022 +0100

Reload file on timetstamp change.

src/playlist.json
src/radio.py

git

2022-06-19 20:24

updater   ~0001179

Branch Bug-345 - commit 4a99833d5e162130fbb6bd18ab82cb89ea417821
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 19:56:30 2022 +0100

Some auto update stuff and other stuff.

src/playlist.json
src/radio.py

git

2022-06-19 20:24

updater   ~0001180

Branch Bug-345 - commit 1ceef6d09a85230fda2f20e4deb15a5003dc028f
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 20:17:04 2022 +0100

Fix start on update.

src/radio.py

git

2022-06-19 20:24

updater   ~0001181

Branch Bug-345 - commit 852e0b959bbf979a784e55675f2c91b5f9a1d113
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 20:23:07 2022 +0100

De-cruft

src/radio.py

git

2022-06-28 13:15

updater   ~0001191

Branch main - commit 626aec7ff35280ceae299851f8a1d3e7cc7af052
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:15:36 2022 +0100

Bug-345

src/radio.py

mikee

2022-06-28 22:29

administrator   ~0001192

Reopening as incomplete.

mikee

2022-06-28 22:32

administrator   ~0001193

Last edited: 2022-06-28 22:44

An end time the next day breaks the code. Memories of mediaplayer.
A temporary fix is to have two alarms, one 22:00-23:59 and the other 00:00-04:00
There will obviously be a 1 min gap. :)
The date has already been adjusted when the alarm list was made so the code can use that.

git

2022-06-29 10:58

updater   ~0001195

Branch Bug-345 - commit 69096cb4995ae7ffdcfff36544507da94204f90f
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 20:36:19 2022 +0100

Better format playlist.

src/playlist.json
src/radio.py

git

2022-06-29 10:58

updater   ~0001196

Branch Bug-345 - commit 56f168531c5d6bc3bda0048be21462dbde03171d
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 19 20:42:49 2022 +0100

modified:   ../README.adoc
modified:   ../Requirements.txt
new file:   ../cad/internet_radio-2.FCStd
modified:   ../radio.service
modified:   radio.py
modified:   ../webserver/webserver.py

README.adoc
Requirements.txt
cad/internet_radio-2.FCStd
radio.service
src/radio.py
webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001197

Branch Bug-345 - commit f5e0e28a51d216c0d495aba18ef97945ce6ab08e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 21 13:30:00 2022 +0100

Add blinky thread for seconds LED

src/radio.py

git

2022-06-29 10:58

updater   ~0001198

Branch Bug-345 - commit 8a373e21d1fa57a27c281609903beb7df2245680
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 23 14:01:27 2022 +0100

Move numitron stuff to blinky()

Bumitron init needed changing to match changes in mcp23008

src/mcp23008.py
src/radio.py

git

2022-06-29 10:58

updater   ~0001199

Branch Bug-345 - commit 2dbf50dc4c4f1be39dbb6f2a53a47511c7ad3bc3
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 23 23:01:23 2022 +0100

Faster scroll for pi B. Slower but still works.

src/radio.py

git

2022-06-29 10:58

updater   ~0001200

Branch Bug-345 - commit eb340a2ab8257a7044c95b4b34717f20db1ef00b
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Fri Jun 24 09:57:51 2022 +0100

Tidy up and space.

src/radio.py

git

2022-06-29 10:58

updater   ~0001201

Branch Bug-345 - commit 4f3148347df919dfa4cc1d2fde96aecf5d8910b2
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Fri Jun 24 15:36:30 2022 +0100

Use systemd to restart after update.

src/radio.py

git

2022-06-29 10:58

updater   ~0001202

Branch Bug-345 - commit 9f63fbfee26cb4abcf5294ff52a7a95c137bf31c
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Fri Jun 24 15:56:12 2022 +0100

Added systemd notes.

doc/spec.adoc

git

2022-06-29 10:58

updater   ~0001203

Branch Bug-345 - commit 68448fe27d1a6a66f2b11d1db83d308c0f718a4b
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sat Jun 25 10:51:12 2022 +0100

Bug-346

Fix the logic.
It's a bit messy though and needs refactoring.

webserver/templates/my_form.html
webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001205

Branch Bug-345 - commit a28b9aec1f64c0e060877a766eca779ded8fb87d
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 09:30:18 2022 +0100

Display _ on hh tube when hh == 0.

This is because my hh tube has a broken C filament.

src/radio.py

git

2022-06-29 10:58

updater   ~0001206

Branch Bug-345 - commit 22af68b8a22097c52ee7280d55ce0266755af09a
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 13:18:01 2022 +0100

Add restart method and restart if load playlist fails.

Probably doesnlt neet to restart and just try again but...

src/radio.py

git

2022-06-29 10:58

updater   ~0001207

Branch Bug-345 - commit 42b59ecfce0c45408af3aa6bb158c49cb93b3a0c
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 14:49:36 2022 +0100

Add a page to set the wifi creds.

Very insecure. Make sure all this is firewalled from the big bad web.

webserver/templates/wifi_setup.html
webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001208

Branch Bug-345 - commit 3129c88de3ebe9409c57bcceaa1906a82ac40cb1
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 19:33:52 2022 +0100

Minor fixings.

webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001209

Branch Bug-345 - commit 1dbaab0500f1c1576f611fe1c95f2aabfeace79a
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 22:53:41 2022 +0100

Run webserver on port 80.

webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001210

Branch Bug-345 - commit 80395889b703ad42118057a7179c484074c63d0a
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 22:54:49 2022 +0100

Run webserver on port 80.

webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001211

Branch Bug-345 - commit 12efa844d97d6b9aff435160a273dcf06caf5c3a
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 22:55:45 2022 +0100

Refactor runmodes into functions inside main.

src/radio.py

git

2022-06-29 10:58

updater   ~0001212

Branch Bug-345 - commit 9c5a88ea57d7219121c1c382fc131c791a5a795e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 10:10:00 2022 +0100

Fix Bug-348 Refactored and working as before.

radio.service
src/radio.py

git

2022-06-29 10:58

updater   ~0001214

Branch Bug-345 - commit 8d700203c44c20486ac73a3d1da0de222c4566b8
Merge: 8039588 9c5a88e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 10:12:52 2022 +0100

Merge branch 'Bug-348'

commit 9c5a88ea57d7219121c1c382fc131c791a5a795e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 10:10:00 2022 +0100

Fix Bug-348 Refactored and working as before.

radio.service
src/radio.py

commit 12efa844d97d6b9aff435160a273dcf06caf5c3a
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 22:55:45 2022 +0100

Refactor runmodes into functions inside main.

src/radio.py

commit 1dbaab0500f1c1576f611fe1c95f2aabfeace79a
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jun 26 22:53:41 2022 +0100

Run webserver on port 80.

webserver/webserver.py

git

2022-06-29 10:58

updater   ~0001216

Branch Bug-345 - commit aadbd935c3ce13ca0855ca2186484fed01c38766
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 10:18:01 2022 +0100

new file:   ../.gitignore

.gitignore

git

2022-06-29 10:58

updater   ~0001217

Branch Bug-345 - commit 810d18119440d6c30e35f8c56ade323df88d8902
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 12:34:39 2022 +0100

Bug-347 Related

Mostly the alarm mode.

Also refactored out the volume setting method.

src/radio.py

git

2022-06-29 10:58

updater   ~0001219

Branch Bug-345 - commit 76bb7e60aced5fc957487420a042dcc89ac9bc98
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 14:24:19 2022 +0100

Add dimmer circuit.

backlight_controller/lcd_backlight_controller-cache.lib
backlight_controller/lcd_backlight_controller.kicad_pcb
backlight_controller/lcd_backlight_controller.pro
backlight_controller/lcd_backlight_controller.sch

git

2022-06-29 10:58

updater   ~0001220

Branch Bug-345 - commit 903f5b7817f51e89416f6389bf5bc7b617ce518d
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 14:25:34 2022 +0100

Fix extra space.

src/radio.py

git

2022-06-29 10:58

updater   ~0001221

Branch Bug-345 - commit 9e3a0db3971856ba0d1b2eeb15715467791dbde4
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jun 27 21:06:58 2022 +0100

De-crufting 'n' shit

src/radio.py

git

2022-06-29 10:58

updater   ~0001222

Branch Bug-345 - commit 5339c501f97ec16f269b6441848bfb09ee95a3b7
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 11:25:18 2022 +0100

Multiple alarms need to be enabled.

src/radio.py

git

2022-06-29 10:58

updater   ~0001223

Branch Bug-345 - commit ff03649529d9b4d4f75aa5a0b31cb4d19b413a51
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 12:44:11 2022 +0100

Alarm stops on time.

src/radio.py

git

2022-06-29 10:58

updater   ~0001224

Branch Bug-345 - commit bfd93540a6fea84bc40987434cfca5d604134fc1
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:07:26 2022 +0100

Alarm starts and stops.

src/radio.py

git

2022-06-29 10:58

updater   ~0001225

Branch Bug-345 - commit 626aec7ff35280ceae299851f8a1d3e7cc7af052
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:15:36 2022 +0100

Bug-345

src/radio.py

git

2022-06-29 10:58

updater   ~0001226

Branch Bug-345 - commit 72f1337e51f2a306b29ad7e868a9a4dff2381264
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:40:26 2022 +0100

Update sample playlist.

src/playlist.json

git

2022-06-29 10:58

updater   ~0001227

Branch Bug-345 - commit 9c25f84d42d024d15ef3c00f1cfdfdf3b0348bea
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:44:21 2022 +0100

Add stuff to doc.

doc/spec.adoc

git

2022-06-29 10:58

updater   ~0001228

Branch Bug-345 - commit 62e913bff2f4df033b3946ca559579b6371934dc
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:46:32 2022 +0100

new file:   ../images/IMG_20220616_152408.jpg
new file:   ../images/IMG_20220620_204857.jpg
new file:   ../images/IMG_20220620_212457.jpg
new file:   ../images/VID_20220627_160917.mp4

images/IMG_20220616_152408.jpg
images/IMG_20220620_204857.jpg
images/IMG_20220620_212457.jpg
images/VID_20220627_160917.mp4

git

2022-06-29 10:58

updater   ~0001229

Branch Bug-345 - commit a93a0203ace8f885ddaf2f32b1dcb25b10cc7e10
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 13:59:42 2022 +0100

new file:   ../cad/internet_radio_with_face-2.FCStd

cad/internet_radio_with_face-2.FCStd

git

2022-06-29 10:58

updater   ~0001230

Branch Bug-345 - commit f2a1d596250b3e9e325fe5d3bd3d9099745e4833
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 14:07:02 2022 +0100

Re-enabel autostart.

src/radio.py

git

2022-06-29 10:58

updater   ~0001231

Branch Bug-345 - commit cf446abfc421f2a32153400601ab5fbed03c478c
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Tue Jun 28 21:05:30 2022 +0100

deleted:    ../doc/spec.ascidoc

doc/spec.ascidoc

git

2022-06-29 10:58

updater   ~0001232

Branch Bug-345 - commit c197744bb992bbad3634ea4387ccc61840a1af55
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Wed Jun 29 10:14:49 2022 +0100

 Add parse_time method.

src/radio.py

git

2022-06-29 10:58

updater   ~0001233

Branch Bug-345 - commit b57f68d318abbc66f84f7f70b29de5db569338ff
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Wed Jun 29 10:43:31 2022 +0100

Simplify date parsin.

src/radio.py

git

2022-06-29 13:33

updater   ~0001234

Branch Bug-345 - commit 2f9da56d6f7a7626f77233bab9da19065ec44d47
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Wed Jun 29 13:30:21 2022 +0100

Probably working for alarms.

src/radio.py

git

2022-06-29 13:33

updater   ~0001235

Branch Bug-345 - commit ba64a30a619087a174dbdb42a720fe4134fef5c9
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Wed Jun 29 13:32:07 2022 +0100

Add byass resistor to ensure there's some illumination in darkness

backlight_controller/lcd_backlight_controller.sch

git

2022-07-02 11:19

updater   ~0001253

Branch Bug-345 - commit f89cfffb0a8a63d0113132d265e31913d539d04c
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Wed Jun 29 22:16:47 2022 +0100

modified:   radio.py

src/radio.py

git

2022-07-02 11:19

updater   ~0001254

Branch Bug-345 - commit 4eb2caca1798944643e3e5a69a05e0df949090cf
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 11:33:39 2022 +0100

modified:   playlist.json

src/playlist.json

git

2022-07-02 11:19

updater   ~0001255

Branch Bug-345 - commit e38aa1ec0e039cca6e14032a5df1da9b0f694ae9
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 11:41:34 2022 +0100

Improvements to alarms.

src/playlist.json
src/radio.py

git

2022-07-02 11:19

updater   ~0001256

Branch Bug-345 - commit 77ad45ef997700e3b67402719cacf5934e3e9b57
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 11:43:05 2022 +0100

Comments.

src/radio.py

git

2022-07-02 11:19

updater   ~0001257

Branch Bug-345 - commit b596ea03f59402a6c75946024c1500aa5c8edb74
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 11:56:26 2022 +0100

Remove some INFO()

src/radio.py

git

2022-07-02 11:19

updater   ~0001258

Branch Bug-345 - commit 087838c5d5c0c2a2c226a3af82dfcdfa4628d8d5
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 12:11:10 2022 +0100

Squashed commit of the following:

    Improvements to alarms.

src/playlist.json
src/radio.py

git

2022-07-02 11:19

updater   ~0001259

Branch Bug-345 - commit ed6e0ed7b73d6a02216307bd9aa0bf880dc2dfd3
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 12:54:44 2022 +0100

Add json description.

doc/spec.adoc

git

2022-07-02 11:19

updater   ~0001260

Branch Bug-345 - commit 2fb9e790b722119e5bfa838e9cb76c61d1d9bd61
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 15:02:33 2022 +0100

Working, probably.

src/playlist.json
src/radio.py
webserver/templates/alarms.html
webserver/templates/my_form.html
webserver/webserver.py

git

2022-07-02 11:19

updater   ~0001261

Branch Bug-345 - commit 1d1d7dd9365975b13f0b98d7312499b432099511
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 15:05:43 2022 +0100

De-crufting

src/radio.py

git

2022-07-02 11:19

updater   ~0001262

Branch Bug-345 - commit 9d87245fdbe85f38ced570873845c0cf05f1ea99
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 15:37:23 2022 +0100

More clean up.

src/radio.py

git

2022-07-02 11:19

updater   ~0001263

Branch Bug-345 - commit 9e35e4684472bab09555ae9f45d303edb070762b
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 20:42:33 2022 +0100

Use duration instead of end time for alarms.

src/radio.py
webserver/templates/alarms.html
webserver/webserver.py

git

2022-07-02 11:19

updater   ~0001264

Branch Bug-345 - commit 884d756e56e395124eef3e1477fbe863685cca80
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jun 30 21:28:10 2022 +0100

Some path updates.
modified:   ../src/radio.py
modified:   webserver.py

src/radio.py
webserver/webserver.py

git

2022-07-02 11:19

updater   ~0001265

Branch Bug-345 - commit 161c7ae5898748de7789e0f4fc86511dd5e0e022
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Fri Jul 1 10:59:10 2022 +0100

Resume last song and fix(maybe) alarms. again.

src/radio.py

git

2022-07-02 11:19

updater   ~0001266

Branch Bug-345 - commit 64f6ec35e4ca8d05905ce3677a328b37b79ed855
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Fri Jul 1 15:03:31 2022 +0100

Attempt to get repeats to work.

This may take weeks to test!

src/radio.py

git

2022-07-02 11:19

updater   ~0001267

Branch Bug-345 - commit a7d5d6d41b029b0d5d2b32931f81d704dc14a044
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sat Jul 2 09:51:19 2022 +0100

Add switch logic matrices.

doc/spec.adoc

git

2022-07-02 11:19

updater   ~0001268

Branch Bug-345 - commit d1f29f32709ac60c28af8894280ac1b91aff6803
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sat Jul 2 11:11:12 2022 +0100

Comments.

src/radio.py

git

2022-07-02 11:19

updater   ~0001269

Branch Bug-345 - commit e287765482f860748ab1a067f7b33127a1157c4e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sat Jul 2 11:14:12 2022 +0100

Update alrm stuff.

doc/spec.adoc

git

2022-07-02 11:19

updater   ~0001270

Branch Bug-345 - commit ec7a05a976a8480a842c1b3675e1c8f62fbb2009
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sat Jul 2 11:14:31 2022 +0100

modified:   ../webserver/templates/alarms.html
modified:   ../webserver/webserver.py

webserver/templates/alarms.html
webserver/webserver.py

mikee

2022-07-02 11:23

administrator   ~0001273

There are still issues with scheduling and conflicts with the mode_play method.
The switches need to play nice with each other.
Need to consider having a day-of-week capability coupled with date start and end.

git

2022-07-02 23:54

updater   ~0001274

Branch Bug-345 - commit 7156755ad19ed79040294b9ed7f3a9fec6603e3b
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sat Jul 2 23:54:02 2022 +0100

new file:   stations.json

src/stations.json

git

2022-07-03 08:01

updater   ~0001275

Branch Bug-345 - commit 1322a8050cc84c787434c5440d22d41fa451b2c8
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 3 08:00:00 2022 +0100

Refactor making playlist

and some fixes for loading state.json

src/radio.py

git

2022-07-03 11:17

updater   ~0001277

Branch Bug-345 - commit 835c626210572fd28bab903c84844b4197091235
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 3 11:17:20 2022 +0100

Bug-346
modified:   templates/alarms.html
modified:   webserver.py

webserver/templates/alarms.html
webserver/webserver.py

git

2022-07-03 19:16

updater   ~0001279

Branch Bug-345 - commit 1497f434df7bdf2ecfa56b5f21e2ca093fcdf851
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 3 19:15:56 2022 +0100

CHanged an INFO.

src/radio.py

git

2022-07-10 12:30

updater   ~0001281

Branch Bug-345 - commit 3ab248c8eb3cf5caa68236d9f48d6bcc6276c75e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 10 12:29:29 2022 +0100

Kinda sorta,

src/radio.py
webserver/webserver.py

git

2022-07-10 12:30

updater   ~0001282

Branch Bug-345 - commit c9b9e016819bf6f7c6fed142cb5ffdf53693ba75
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 10 12:30:16 2022 +0100

modified:   ../.gitignore
new file:   alarms.json

.gitignore
src/alarms.json

git

2022-07-10 18:44

updater   ~0001283

Branch Bug-345 - commit 8435d2f08fe44659970bfcefb7732430a5bcbaca
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 10 12:49:30 2022 +0100

repeat is never used, add weekday to webpage.

src/alarms.json
webserver/templates/alarms.html
webserver/webserver.py

git

2022-07-10 18:44

updater   ~0001284

Branch Bug-345 - commit 0e40ec6ef0336343c3800e28fa145dff82f87b49
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 10 13:20:45 2022 +0100

Add favicon.

webserver/static/favicon.ico
webserver/templates/alarms.html
webserver/templates/my_form.html

git

2022-07-10 18:44

updater   ~0001285

Branch Bug-345 - commit 9cf7a9038d199cadc30dbe1765e75f888204fcf7
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 10 17:31:58 2022 +0100

Make weekday selection a dropdown.

webserver/templates/alarms.html
webserver/webserver.py

git

2022-07-10 19:56

updater   ~0001286

Branch Bug-345 - commit d9ca341223bbe60810bf42468941d3955853edf5
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Sun Jul 10 19:55:41 2022 +0100

Oops, loading the wrong playlist

src/radio.py

git

2022-07-11 10:26

updater   ~0001287

Branch Bug-345 - commit 5b0fcf054f95a9e57da769f55e2d49448d33d83e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jul 11 09:40:19 2022 +0100

Simplify some alarm stuff.

src/alarms.json
src/radio.py

git

2022-07-11 10:26

updater   ~0001288

Branch Bug-345 - commit a1b4ece636fc395c9a30f00603fcda3fcb0c5735
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jul 11 10:25:58 2022 +0100

modified:   webserver.py

webserver/webserver.py

git

2022-07-11 11:13

updater   ~0001289

Branch Bug-345 - commit ee990248c5025ee023e27c03c161f0376c2bdebe
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jul 11 11:06:37 2022 +0100

Sort stations by name.

Future idea, sort by most played!

webserver/webserver.py

git

2022-07-11 11:13

updater   ~0001290

Branch Bug-345 - commit 18b8f0abf19c4edabdd5561e5d934da0bdfee7c8
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jul 11 11:12:16 2022 +0100

Stuff.

Sort by sation name on load.
Standy fixin's.

src/radio.py

mikee

2022-07-18 10:07

administrator   ~0001299

Issue: A midnight spanning alarm, if stopped to play something else, will not resume because make_alarms reconstructs the alarm list but now it's move on a a day so the alarm will now not play until the next evening.

git

2022-07-18 15:10

updater   ~0001300

Branch main - commit a375a6f982f5611e301a4d4ba32938f0941b3d0c
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Mon Jul 18 15:09:30 2022 +0100

Bug-345 Fix? Probably.

Test me!

src/radio.py

git

2022-07-20 09:42

updater   ~0001301

Branch main - commit 5b8089c5367ecc70238588504b6e03b695b9c04e
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Wed Jul 20 09:41:56 2022 +0100

Bug-345 Another attempt.

src/radio.py

git

2022-07-21 06:28

updater   ~0001302

Branch main - commit 8fc8dd14aaf46a733bdfea0eb5839223732cc8e4
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Thu Jul 21 06:26:05 2022 +0100

Bug-345  Probably.

src/radio.py

git

2022-07-22 11:46

updater   ~0001304

Branch main - commit f8487e92057f37a4f57ceaf3c89723d4cb55eab0
Author: Mike Evans <mikee@saxicola.co.uk>
Date: Fri Jul 22 10:50:13 2022 +0100

Bug-345

Removing items from the list changes the list, duh.
This was causing items to go missing when the loop was next incremented.
Specifically items following the deleted item.
Don't do this again.

Do the stuff required where items have weekdays.

src/radio.py

mikee

2022-07-24 10:11

administrator   ~0001305

This is mostly done. Any new features bugs should have a new report.

mikee

2026-05-16 10:07

administrator   ~0002179

Re-opened.
See Relationships to other bugs.

mikee

2026-05-17 09:52

administrator   ~0002183

004bf4f1c2

Issue History

Date Modified Username Field Change
2022-06-19 12:54 mikee New Issue
2022-06-19 12:54 mikee Status new => assigned
2022-06-19 12:54 mikee Assigned To => mikee
2022-06-19 15:29 git Note Added: 0001171
2022-06-19 16:57 git Note Added: 0001172
2022-06-19 16:58 git Note Added: 0001173
2022-06-19 17:04 git Note Added: 0001174
2022-06-19 17:14 git Note Added: 0001175
2022-06-19 17:14 git Note Added: 0001176
2022-06-19 18:45 git Note Added: 0001177
2022-06-19 20:24 git Note Added: 0001178
2022-06-19 20:24 git Note Added: 0001179
2022-06-19 20:24 git Note Added: 0001180
2022-06-19 20:24 git Note Added: 0001181
2022-06-19 20:44 mikee Status assigned => closed
2022-06-19 20:44 mikee Resolution open => fixed
2022-06-28 13:15 git Note Added: 0001191
2022-06-28 22:29 mikee Status closed => new
2022-06-28 22:29 mikee Resolution fixed => reopened
2022-06-28 22:29 mikee Note Added: 0001192
2022-06-28 22:29 mikee Status new => assigned
2022-06-28 22:32 mikee Note Added: 0001193
2022-06-28 22:41 mikee Note Edited: 0001193
2022-06-28 22:44 mikee Note Edited: 0001193
2022-06-29 10:54 mikee Severity minor => major
2022-06-29 10:55 mikee Category Enhancement => Bug
2022-06-29 10:58 git Note Added: 0001195
2022-06-29 10:58 git Note Added: 0001196
2022-06-29 10:58 git Note Added: 0001197
2022-06-29 10:58 git Note Added: 0001198
2022-06-29 10:58 git Note Added: 0001199
2022-06-29 10:58 git Note Added: 0001200
2022-06-29 10:58 git Note Added: 0001201
2022-06-29 10:58 git Note Added: 0001202
2022-06-29 10:58 git Note Added: 0001203
2022-06-29 10:58 git Note Added: 0001205
2022-06-29 10:58 git Note Added: 0001206
2022-06-29 10:58 git Note Added: 0001207
2022-06-29 10:58 git Note Added: 0001208
2022-06-29 10:58 git Note Added: 0001209
2022-06-29 10:58 git Note Added: 0001210
2022-06-29 10:58 git Note Added: 0001211
2022-06-29 10:58 git Note Added: 0001212
2022-06-29 10:58 git Note Added: 0001214
2022-06-29 10:58 git Note Added: 0001216
2022-06-29 10:58 git Note Added: 0001217
2022-06-29 10:58 git Note Added: 0001219
2022-06-29 10:58 git Note Added: 0001220
2022-06-29 10:58 git Note Added: 0001221
2022-06-29 10:58 git Note Added: 0001222
2022-06-29 10:58 git Note Added: 0001223
2022-06-29 10:58 git Note Added: 0001224
2022-06-29 10:58 git Note Added: 0001225
2022-06-29 10:58 git Note Added: 0001226
2022-06-29 10:58 git Note Added: 0001227
2022-06-29 10:58 git Note Added: 0001228
2022-06-29 10:58 git Note Added: 0001229
2022-06-29 10:58 git Note Added: 0001230
2022-06-29 10:58 git Note Added: 0001231
2022-06-29 10:58 git Note Added: 0001232
2022-06-29 10:58 git Note Added: 0001233
2022-06-29 13:33 git Note Added: 0001234
2022-06-29 13:33 git Note Added: 0001235
2022-06-30 12:57 mikee Relationship added related to 0000350
2022-07-02 11:19 git Note Added: 0001253
2022-07-02 11:19 git Note Added: 0001254
2022-07-02 11:19 git Note Added: 0001255
2022-07-02 11:19 git Note Added: 0001256
2022-07-02 11:19 git Note Added: 0001257
2022-07-02 11:19 git Note Added: 0001258
2022-07-02 11:19 git Note Added: 0001259
2022-07-02 11:19 git Note Added: 0001260
2022-07-02 11:19 git Note Added: 0001261
2022-07-02 11:19 git Note Added: 0001262
2022-07-02 11:19 git Note Added: 0001263
2022-07-02 11:19 git Note Added: 0001264
2022-07-02 11:19 git Note Added: 0001265
2022-07-02 11:19 git Note Added: 0001266
2022-07-02 11:19 git Note Added: 0001267
2022-07-02 11:19 git Note Added: 0001268
2022-07-02 11:19 git Note Added: 0001269
2022-07-02 11:19 git Note Added: 0001270
2022-07-02 11:23 mikee Note Added: 0001273
2022-07-02 23:54 git Note Added: 0001274
2022-07-03 08:01 git Note Added: 0001275
2022-07-03 11:17 git Note Added: 0001277
2022-07-03 19:16 git Note Added: 0001279
2022-07-10 11:59 mikee Description Updated
2022-07-10 12:30 git Note Added: 0001281
2022-07-10 12:30 git Note Added: 0001282
2022-07-10 18:44 git Note Added: 0001283
2022-07-10 18:44 git Note Added: 0001284
2022-07-10 18:44 git Note Added: 0001285
2022-07-10 19:56 git Note Added: 0001286
2022-07-11 10:26 git Note Added: 0001287
2022-07-11 10:26 git Note Added: 0001288
2022-07-11 11:13 git Note Added: 0001289
2022-07-11 11:13 git Note Added: 0001290
2022-07-14 11:24 mikee OS => Raspbian
2022-07-14 11:24 mikee OS Version => Buster
2022-07-14 11:24 mikee Platform => Raspberry Pi
2022-07-18 10:07 mikee Note Added: 0001299
2022-07-18 10:08 mikee Description Updated
2022-07-18 15:10 git Note Added: 0001300
2022-07-20 09:42 git Note Added: 0001301
2022-07-21 06:28 git Note Added: 0001302
2022-07-22 11:46 git Note Added: 0001304
2022-07-24 10:11 mikee Status assigned => closed
2022-07-24 10:11 mikee Note Added: 0001305
2026-05-16 10:05 mikee Relationship added related to 0000406
2026-05-16 10:07 mikee Status closed => assigned
2026-05-16 10:07 mikee Note Added: 0002179
2026-05-16 10:07 mikee Status assigned => feedback
2026-05-17 09:52 mikee Status feedback => closed
2026-05-17 09:52 mikee Note Added: 0002183