renamed reserve queue to reserve pool
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
# 2023-04-07: Added '*.oga' and '*.OGA' to the list of audio types to ignore
|
||||
#
|
||||
# 2023-06-22: Added directories containing the string '_9999_' to the ignore
|
||||
# list. This is apparently used for shows destined for the reserve queue. This
|
||||
# list. This is apparently used for shows destined for the reserve pool. This
|
||||
# might be a temporary measure because we might want to process such shows in
|
||||
# this workflow.
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
@@ -179,7 +179,7 @@ $dbh->do("set time_zone = '+00:00'") or carp $dbh->errstr;
|
||||
#
|
||||
# Query the reservations table for shows which are more or less kosher.
|
||||
# 2023-07-01 the episode number 9999 is currently a marker that the show is
|
||||
# for the reserve queue, so we omit it
|
||||
# for the reserve pool, so we omit it
|
||||
#
|
||||
$sth1 = $dbh->prepare(
|
||||
q{SELECT * FROM reservations WHERE ep_num > 0 ORDER BY timestamp});
|
||||
@@ -226,7 +226,7 @@ say "No show reservations" if ( $count == 0 );
|
||||
|
||||
if (@res) {
|
||||
say " ";
|
||||
say "Reserve queue entries";
|
||||
say "reserve pool entries";
|
||||
$count = 0;
|
||||
|
||||
for my $r (@res) {
|
||||
|
||||
@@ -35,10 +35,10 @@ media_txt="${media_srt%.*}.txt"
|
||||
|
||||
if [ "${num_reserve_shows}" -ge "10" ]
|
||||
then
|
||||
feedback="You are listening to a show from the Reserve Queue. This show was submitted in ${submitted_month} to cover occasions like this where there are gaps in the schedule."
|
||||
feedback="You are listening to a show from the reserve pool. This show was submitted in ${submitted_month} to cover occasions like this where there are gaps in the schedule."
|
||||
echo "1
|
||||
00:00:00,000 --> 00:00:03,000
|
||||
You are listening to a show from the Reserve Queue.
|
||||
You are listening to a show from the reserve pool.
|
||||
|
||||
2
|
||||
00:00:03,000 --> 00:00:07,000
|
||||
@@ -51,10 +51,10 @@ where there are gaps in the schedule.
|
||||
|
||||
elif [ "${num_reserve_shows}" -ge "5" ]
|
||||
then
|
||||
feedback="You are listening to a show from the Reserve Queue. We have less than two weeks of backup shows available. Now would be a good time to consider submitting a show. This show was submitted in ${submitted_month} to cover occasions like this where there are gaps in the schedule."
|
||||
feedback="You are listening to a show from the reserve pool. We have less than two weeks of backup shows available. Now would be a good time to consider submitting a show. This show was submitted in ${submitted_month} to cover occasions like this where there are gaps in the schedule."
|
||||
echo "1
|
||||
00:00:00,000 --> 00:00:03,000
|
||||
You are listening to a show from the Reserve Queue.
|
||||
You are listening to a show from the reserve pool.
|
||||
|
||||
2
|
||||
00:00:03,000 --> 00:00:06,000
|
||||
@@ -76,10 +76,10 @@ where there are gaps in the schedule.
|
||||
|
||||
elif [ "${num_reserve_shows}" -ge "1" ]
|
||||
then
|
||||
feedback="You are listening to a show from the Reserve Queue. We have very few shows left to cover occasions like this where there are gaps in the schedule. This is a community project that needs listeners to contribute shows in order to survive. Once all shows are posted we will shut down the project, so if you want Hacker Public Radio to continue then record a show. This show was submitted in ${submitted_month}."
|
||||
feedback="You are listening to a show from the reserve pool. We have very few shows left to cover occasions like this where there are gaps in the schedule. This is a community project that needs listeners to contribute shows in order to survive. Once all shows are posted we will shut down the project, so if you want Hacker Public Radio to continue then record a show. This show was submitted in ${submitted_month}."
|
||||
echo "1
|
||||
00:00:00,000 --> 00:00:03,000
|
||||
You are listening to a show from the Reserve Queue.
|
||||
You are listening to a show from the reserve pool.
|
||||
|
||||
2
|
||||
00:00:03,000 --> 00:00:06,000
|
||||
|
||||
@@ -2237,7 +2237,7 @@ function hide_me() {
|
||||
echo "hidden"
|
||||
|
||||
#
|
||||
# TODO Add support for reserve queue - process validate and move to reserve dir
|
||||
# TODO Add support for reserve pool - process validate and move to reserve dir
|
||||
# TODO Add support to reprocess processed shows - when given onlay new media reprocess it, update duration on hub, generate and download shownotes.{html,json} from db
|
||||
# TODO Add support for community news - reusing ^^^
|
||||
# TODO Add support for stereo for some episodes that request it
|
||||
|
||||
Reference in New Issue
Block a user