Commit Graph

89 Commits

Author SHA1 Message Date
01c5ed1495 dat update and minor format changes 2025-10-20 15:37:24 +02:00
50facb86f3 dat update and minor format changes 2025-10-20 15:36:48 +02:00
Dave Morriss
9c5cccd0f2 Addition of notes about running "thanks_to_hosts" 2025-10-07 12:33:37 +01:00
Dave Morriss
2e7ae52cf1 Merge branch 'main' of repo.anhonesthost.net:HPR/hpr-tools
[I always commit before pulling!]
2025-10-06 23:25:36 +01:00
Dave Morriss
782f501c2b Addition of tool to list hosts in a year
hosts_in_year.sqlite.sql: query to return all hosts contributing shows
    in a period (usually a year)

hosts_list.tpl: `TT²` template to generate an HTML list from the output
    of hosts_in_year.sqlite.sql

make_shownotes: trivial tidying

thanks_to_hosts: Bash script to simplify the generation of the HTML
    which thanks a year's hosts for their contributions
2025-10-06 23:20:28 +01:00
d19fe2e4bf Cron automations 2025-09-21 19:19:20 +02:00
8efc6459c3 Correct location for the new server 2025-09-15 20:15:59 +02:00
2b4ef438b3 Added SQL rss feed, Fixed regex for image, and scp files to hpr server 2025-09-11 17:50:31 +02:00
16afecfb82 Automating sql generation on db change 2025-09-10 21:23:37 +02:00
27bb3be4af Move HPR/hpr_hub#88 2025-09-08 09:49:49 +02:00
1a69042b24 added check for ffmpeg 2025-08-29 12:21:07 +02:00
Dave Morriss
f56da62e05 Merge branch 'main' of repo.anhonesthost.net:HPR/hpr-tools 2025-08-20 23:20:14 +01:00
Dave Morriss
75d20cc081 Template update for 'make_shownotes'
Community_News/make_email: minor POD changes

Community_News/make_shownotes: minor POD changes

Community_News/shownote_template.tpl: now a copy of the latest template
    rather than a symbolic linkl to it

Community_News/shownote_template13.tpl: new template which doesn't
    filter 'comment_author_name' with 'html_entity'
2025-08-20 23:15:54 +01:00
65d3a36818 pod2markdown < make_shownotes > README.md 2025-08-18 14:10:12 +02:00
295e96cad2 Piped help to readme 2025-08-18 13:11:07 +02:00
c72db3d58d Revert CN change as it breaks normal shows 2025-08-18 12:06:37 +02:00
Dave Morriss
a6ec5c095e Updates for Community News tools
Community_News/make_email: minor tidying

Community_News/make_shownotes: addition of File::Copy; addition of cache
    management routines; cache is now managed here as well as in
    'make_email'; fixed a bug with use of '$/'; POD enhancements.

Community_News/recording_dates.dat: for reference

Community_News/shownote_template12.tpl: removed the "Updated on" section.

Community_News/shownotes_container.tpl: enhanced the datestamp header
    when generating "full" shownotes.
2025-08-18 10:31:37 +01:00
89b51b4406 Abort early if shownotes missing, and allign wave with play controls 2025-08-01 19:39:02 +02:00
274dfb7dba Escape summary and title, and match audio playback to waveform image 2025-08-01 14:20:23 +02:00
31986b3ea6 Curl fix to show headers 2025-07-15 19:58:31 +02:00
4f5cbb24be Merge pull request 'Moved Containerfile and build script to 'hpr-tools/'.' (#15) from sgoti/hpr-tools:main into main
Reviewed-on: #15
2025-06-19 17:03:21 +00:00
b816d85019 fix media_basename variable check 2025-06-13 22:19:44 +02:00
24e36b945a bug on asset csv and json checks 2025-06-05 22:31:58 +02:00
dd97a672aa fixing encoding timing errors and restoring spx - why not 2025-06-04 21:18:21 +02:00
6f3c6c2596 2025-06-01_18-03-47Z_Sunday 2025-06-01 20:03:47 +02:00
Sgoti
0fc70df8ac Moved Containerfile and build script to 'hpr-tools/'.
The build script was renamed (hpr_container_email_shownotes.sh).  I asked Ken
    for a better name. :D

Changes to be committed:
    new file:   Containerfile
    new file:   hpr_container_email_shownotes.sh

 Untracked files:
    Community_News/mysql2sqlite  <--Symbolic link from hpr_generator/utils
2025-05-30 18:02:54 -04:00
1dd1c8c100 2025-05-28_18-50-18Z_Wednesday 2025-05-28 20:50:18 +02:00
Dave Morriss
b514cfa380 Do not count placeholders in comments
Database/query2csv, Database/query2json, Database/query2tt2:
    if the query contained comments with placeholders they would be
    added to the count and would usually cause the script to request
    '-dbarg=ARG' values be added. Now the SQL has all comments
    stripped to avoid this.
2025-05-25 18:56:33 +01:00
b84ff7a4c8 2025-05-21_08-24-14Z_Wednesday 2025-05-21 10:24:14 +02:00
e8c203debf 2025-05-16_13-14-56Z_Friday 2025-05-16 15:14:56 +02:00
6150943cb3 Fix variable override 2025-05-12 15:31:12 +02:00
946fb47508 Checks db for the correct files and uploads to IA 2025-05-10 21:33:05 +02:00
d7bee0be56 more changes 2025-05-10 06:52:02 +02:00
35305a5c45 IA create item working 2025-05-09 21:02:45 +02:00
12d76f8a52 Merge branch 'main' of repo.anhonesthost.net:HPR/hpr-tools 2025-05-09 19:14:16 +02:00
240ece066b refactoring to get show varibles from posted episode data 2025-05-09 19:14:05 +02:00
Dave Morriss
f11cea9528 Merge branch 'main' of repo.anhonesthost.net:HPR/hpr-tools 2025-05-09 14:18:54 +01:00
Dave Morriss
fdd0823f93 Finishing off 'query2*' scripts
Database/hosts_list.tpl, Database/hosts_showcount.sqlite.sql: examples
    of using 'query2tt2'

Database/query2csv, Database/query2json, Database/query2tt2: minor bug
    fix relating to '-dbarg=ARG' option
2025-05-09 14:15:41 +01:00
62071280a5 making it a requirement to have variables checks and allowing overrides 2025-05-09 11:52:45 +02:00
01422d0bd7 Created directory on origin server that was causing an error for rsync 2025-05-08 17:54:21 +02:00
ce929988e7 Merge branch 'main' of repo.anhonesthost.net:HPR/hpr-tools 2025-05-08 17:36:28 +02:00
aba20faa1c Updates 2025-05-08 17:35:06 +02:00
Dave Morriss
bf8f6db45c Enhanced placeholder/argument check algorithm 2025-05-07 17:21:29 +01:00
Dave Morriss
586c8e537e Updated query2json, and tidied query2csv 2025-05-07 10:06:01 +01:00
Dave Morriss
118ee00677 Updates to three scripts
Database/edit_episode: updated a message

Database/query2csv, Database/query2tt2: updated both scripts to handle
    SQLite and MySQL databases; both take (almost) the same options;
    both query a database in a similar way with arguments to match
    placeholders; 'query2tt2' takes a TT² template and options to feed
    to it; converted the database connection section to a function
    'db_connect'; both have comprehensive POD documentation.
2025-05-06 21:35:23 +01:00
Dave Morriss
16d62131a1 Adding omitted shownotes_container.tpl 2025-04-20 10:02:14 +01:00
Dave Morriss
2be464f879 Reduced the Perl version requirement to 5.36 where needed. 2025-04-17 15:15:55 +01:00
Dave Morriss
960c5acc83 Updates and a bug fix for make_shownotes
Community_News/.make_shownotes.cfg: more comments

Community_News/make_email: added colour test for pod2usage

Community_News/make_shownotes: fixed a bug when using
    -lastrecording=DATETIME. Added reporting of expanded output file
    names; tidying and updates to POD documentation.

Community_News/recording_dates.dat: added test entry for May 2025
2025-04-16 17:14:26 +01:00
Dave Morriss
01d4639ba7 Updates for 'make_email'
Community_News/.make_email.cfg: Removal of the SQLite database
    reference. No longer needed.

Community_News/make_email: A lot of updates relating to confusing
     variable names. Rationalising the three code paths to compute the
     recording date (-date=DATE), the review month (-month=DATE), and
     the default using today's date to determine needed date
     information. Removed all references to the database because we
     don't need it any more.  New date computation functions. A lot of
     POD updates, including an EXAMPLES section.
2025-04-07 21:03:37 +01:00
Dave Morriss
b6c1a5b766 Fixing bugs in 'make_email'
Community_News/make_email: Many bugs relating to the review month versus
    the recording date. Some of these must have been there for 12 years!
    Rerwrote several parts and added a function for converting Perl date
    formats. Added '-force' option to turn off checks when the script is
    run in the month after a review month (not uncommon, but fairly
    infrequent). Fix for writing bad records to the date cache file.
    Updates to POD documentation.

Community_News/make_email_template.tpl: Added new shared variables for
    the review year and month as opposed to the recording year and
    month. Improved the text explaining the "handouts" versus the final
    show notes. Removed the reference to the target show itself. This
    used to be where the "handout" notes were written, then they were
    replaced before show release. This isn't being done any more.

Community_News/recording_dates.dat: Updated with the correct recording
    date (and time) for the review of shows in March 2025.
2025-04-03 16:57:57 +01:00