Commit Graph

66 Commits

Author SHA1 Message Date
cat K. 0f842a9c5c Update 'slogans.txt'
Added "SYNTH TUBA JAZZ VOMIT" to slogans
2021-02-24 23:24:59 +00:00
deepend 55df3c66fb Merge pull request 'adds manual stream info and restructures homepage a bit for readability and accessibility' (#18) from tomasino/tilderadio-site:homepage-tweaks into master
Reviewed-on: tilderadio/site#18
2020-10-10 02:04:10 +00:00
James Tomasino a447477ed4 adds manual stream info and restructures homepage a bit for readability and accessibility 2020-10-09 22:34:11 +00:00
deepend eda12ccb4a Merge pull request 'PHP is annoying and I want to stab whoever designed AzuraCast's API' (#17) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#17
2020-09-28 23:32:50 +00:00
Robert Miles 6b6bc48ae7 PHP is annoying and I want to stab whoever designed AzuraCast's API
From the top:

 - gmdate needs an argument of what time to use. this one is on me being tired, but I shouldn't have to do this because
 - IDs are per-DJ, not per-slot, as I mentioned in my last PR. This wasn't the reason behind the issue, but if IDs were per-slot, my original dedupe would have worked *perfectly*.
 - AzuraCast's API gives weird ISO-8601 date strings instead of just *giving us UNIX timestamps*. Again, not the reason behind the issue, but it annoyed me when testing the dedupe fix.
2020-09-28 23:27:31 +00:00
Robert Miles 8b72e32771 Well, this is embarrassing...
Apparently I put too much faith in AzuraCast's scheduler. IDs are per-DJ, not per-slot, and some DJs (like tomasino) run multiple shows out of the same login. Ergo, this simply will not do.

The ID now used in the dedupe also includes beginning and ending, leading to a slot looking like "13Sun000000Sun010000". This *should* be unique, since AFAIK no DJ has multiple slots during the same time and the same login. (Not to mention slots really can't be at the same time.)
2020-09-28 22:04:15 +00:00
deepend b0d14c0ebb changed font
using same font as the rest of the page.
2020-09-27 05:22:31 +00:00
deepend f17df8ae52 Merge pull request 'Add next DJ to home page' (#14) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#14
2020-09-27 04:55:51 +00:00
Robert Miles 3150e62a31 Add next DJ to home page
Fixes #11. Also adds schedule/nextdj.php, which outputs the same text, for use elsewhere TBD.
2020-09-27 04:54:31 +00:00
deepend 7d40425445 Merge pull request 'Adds a full calendar display to the tilderadio schedule' (#13) from tomasino/tilderadio-site:master into master
Reviewed-on: tilderadio/site#13
2020-09-27 02:15:54 +00:00
deepend 5aa784495e Merge pull request 'Fix duplication of ICS events and make TTT only show up on the last Sunday of each month' (#12) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#12
2020-09-27 02:15:44 +00:00
James Tomasino 6c272afa11 fixes large h1s on mobile causing horizontal scrolling 2020-09-26 20:51:40 +00:00
James Tomasino edc9543120 css tweaks for better phone display 2020-09-26 20:48:58 +00:00
James Tomasino 3987c26428 successfully populating shows into calendar 2020-09-26 20:40:39 +00:00
James Tomasino d726d6522a programatically drawing calendar from $schedule 2020-09-26 20:25:24 +00:00
James Tomasino b8980af520 color scheme is hacker for cal 2020-09-26 19:41:02 +00:00
Robert Miles b5992444e8 Add back the $from and $to params, defining them to be what should be a span of 8 days
We can go over, since items will for sure not be duplicated with the dedupe in place.
2020-09-26 19:30:35 +00:00
James Tomasino 8729aecc37 adds hard-coded calendar without data as placeholder 2020-09-26 19:29:30 +00:00
Robert Miles 7e19179fcc Fix duplication of ICS events and make TTT only show up on the last Sunday of each month 2020-09-26 19:23:48 +00:00
James Tomasino 76c878d65a allow for remote development of schedule by pointing to live schedule json in dev 2020-09-26 19:02:06 +00:00
Ben Harris af00cded1e update test stream link 2020-07-21 11:34:54 -04:00
Ben Harris abc0b5f531 update slogan url 2020-07-13 02:22:22 -04:00
cmccabe 76abc458e7 relative link didn't work in schedule dir 2020-07-08 22:13:04 -04:00
Robert Miles 86166f3d31 Add link to calendar on schedule page 2020-07-03 02:52:02 -04:00
deepend dc59e404b7 Merge pull request 'Remove 2 days from $to, in an attempt to get AzuraCast to not give me duplicate events' (#9) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#9
2020-07-03 01:58:43 -04:00
Robert Miles 4a1b41d7de Remove 2 days from $to, in an attempt to get AzuraCast to not give me duplicate events 2020-07-02 23:25:59 -04:00
Robert Miles 3ca33228f5 ics.php should download as a .ics file 2020-07-02 23:04:26 -04:00
Ben Harris 24fe2f80c0 Merge pull request 'HOTFIX: Fix the ICS generator (again)' (#7) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#7
2020-07-02 22:53:28 -04:00
Robert Miles e22a43f8a4 Merge branch 'master' into master 2020-07-02 22:52:48 -04:00
Robert Miles 99961cfa55 HOTFIX: Fix the ICS generator (again)
I overestimated how much was in common between the two files. ics.php had its
own formatdate function, which it no longer does (thanks ben (/s)).

Reimplement ics.php's former formatdate function as ics_formatdate, and use
it instead of formatdate to format the dates in the ICS output.
2020-07-02 22:48:06 -04:00
Ben Harris 3bd8e4ab04 Merge pull request 'Fix ICS generator' (#6) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#6
2020-07-02 22:45:49 -04:00
Robert Miles 1c1744092b Merge branch 'master' of https://tildegit.org/tilderadio/site 2020-07-02 22:44:11 -04:00
Robert Miles f409367cfe Fix ICS generator
Specifically, adds DTSTAMP properties to all of the objects (the calendar and
the events), terminates lines in CRLF, and splits the UID over 2 lines so the
validator is happy with me.
2020-07-02 22:32:06 -04:00
Ben Harris c78aea671c move common schedule code to library 2020-07-02 21:53:12 -04:00
Robert Miles 9a928f4a39 Add the ICS calendar generator
Here be dragons. I manually reverse-engineered an ICS file generated by a
program I wrote to figure out the syntax, and then I wrote some PHP to
generate a file to that spec.
2020-07-02 18:52:40 -04:00
deepend ce7eef8f4a Merge pull request 'Add padding to hours and minutes of UTC time when updated by Javascript' (#4) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#4
2020-07-01 22:28:08 -04:00
Robert Miles f535af0d2c Add padding to hours and minutes of UTC time when updated by Javascript
I honestly don't know how I missed this the first time around.
2020-07-01 22:09:38 -04:00
deepend 6a65a50a38 Merge pull request 'Add a small snippet of Javascript to update the UTC time' (#3) from khuxkm/tilderadio-site:master into master
Reviewed-on: tilderadio/site#3
2020-07-01 10:10:17 -04:00
Robert Miles fcbbfeebbd Add a small snippet of Javascript to update the UTC time 2020-06-30 22:31:13 -04:00
pendragon 3826d2d700 Patch 2020-06-29 22:07:26 -04:00
Ben Harris 3d695c8b60 add .drone.yml 2020-06-28 14:29:37 -04:00
Ben Harris 853e92965e separate start and end into their own columns 2020-06-28 02:19:42 -04:00
Ben Harris 2675c01f37 add pulseaudio cheatsheet and link to kiwi webchat instead 2020-06-26 11:42:36 -04:00
Ben Harris d7d98f43c3 add sample butt config 2020-06-24 14:58:11 -04:00
Ben Harris 6addb64f5a fix date range 2020-06-23 15:46:46 -04:00
Ben Harris fd224caedc sort schedule page by date 2020-06-23 09:46:36 -04:00
deepend 6867b90ea8 Update 'schedule/index.php' 2020-06-23 01:55:57 -04:00
deepend 2ab5c890d8 Update 'schedule/index.php' 2020-06-23 01:55:03 -04:00
Ben Harris 16c24696a2 add full schedule listing 2020-06-23 01:25:49 -04:00
Ben Harris cf9cc6adb8 add djinfo page 2020-06-22 10:24:04 -04:00