reorganized

i believe everything works
This commit is contained in:
2023-04-10 14:13:01 -05:00
parent 29c6567506
commit 65d36fe9d4
281 changed files with 340 additions and 88086 deletions

View File

@@ -0,0 +1 @@
Mack Skyblade, Sarn Turbo, RX-78 and Ghost participate in grim and gritty adventures in places where morality is gray and nothing is certain

View File

@@ -0,0 +1,8 @@
; Configuration for dir2cast by Ben XO. http://www.ben-xo.com/dir2cast
; https://github.com/ben-xo/dir2cast/blob/main/dir2cast.ini
; *** INFORMATION ABOUT YOUR PODCAST - you SHOULD set this how you like it ***
; The title of the feed.
; This defaults to the name of the directory you're casting
TITLE = "Kwave: Edge of the Empire"

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

View File

@@ -0,0 +1 @@
A FFG Star Wars RPG Story

View File

@@ -0,0 +1,8 @@
; Configuration for dir2cast by Ben XO. http://www.ben-xo.com/dir2cast
; https://github.com/ben-xo/dir2cast/blob/main/dir2cast.ini
; *** INFORMATION ABOUT YOUR PODCAST - you SHOULD set this how you like it ***
; The title of the feed.
; This defaults to the name of the directory you're casting
TITLE = "Kwave: D&D vs. Rick and Morty"

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

View File

@@ -0,0 +1,8 @@
; Configuration for dir2cast by Ben XO. http://www.ben-xo.com/dir2cast
; https://github.com/ben-xo/dir2cast/blob/main/dir2cast.ini
; *** INFORMATION ABOUT YOUR PODCAST - you SHOULD set this how you like it ***
; The title of the feed.
; This defaults to the name of the directory you're casting
TITLE = "Kwave: Blades in the Dark"

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 KiB

54
apps/podcast/dir2cast.ini Normal file
View File

@@ -0,0 +1,54 @@
; Configuration for dir2cast by Ben XO. http://www.ben-xo.com/dir2cast
; https://github.com/ben-xo/dir2cast/blob/main/dir2cast.ini
; *** INFORMATION ABOUT YOUR PODCAST - you SHOULD set this how you like it ***
; The copyright notice of the feed
; This defaults to this year (e.g. '2008')
; The string %YEAR% will be replaced with the current year.
COPYRIGHT = "Anthony Correa (%YEAR%)"
; Webmaster of the feed. This must be an email address,
WEBMASTER = "a@correa.co (Anthony Correa)"
; Name of the Owner of the podcast for iTunes
; This defaults to empty
ITUNES_OWNER_NAME = "Anthony Correa"
; Email of the Author of the podcast for iTunes
; This defaults to empty
;ITUNES_OWNER_EMAIL = "me-dir2cast@ben-xo.com"
; URL of the feed's home page (this is NOT where the MP3s are! It is
; just the link to your "about" page).
; This defaults to the URL of the script or http://www.example.com/
LINK = "http://rpg.ascorrea.com/podcast"
; The Author of the podcast for iTunes
; This defaults to whatever WEBMASTER is set to
ITUNES_AUTHOR = "Anthony Correa"
ITUNES_OWNER_EMAIL = "a@correa.co"
; Categories for iTunes
;
; You may add as many as you like from the category list at
; https://help.apple.com/itc/podcasts_connect/#/itc9267a2f12
;
; Here is an example which means "Both the 'Music' category and
; the 'Gadgets' subcategory of 'Technology'
;
; Please note that the entire setting must have double quotes ("")
; like in the example, otherwise categories with '&' in the name won't work
ITUNES_CATEGORIES = "Fiction, Comedy, Leisure, Games"
; Whether or not the feed contains explicit content.
ITUNES_EXPLICIT = "yes"
; *** CHECK THESE ARE OK. ***
; Language of the feed
LANGUAGE = "en-us"
; Number of items to show in the feed
; This defaults to 10
ITEM_COUNT = 500

View File

@@ -0,0 +1,57 @@
location ~ ^/podcast/feed.xml$ {
return 301 /podcast/01sw;
}
#/podcast/media/2022-03-09-ep42.mp3
location ~* /podcast/media/(?:.*)-(?<season_2>s02)?(?<episode_label>ep\d+)(\.mp3) {
if ($season_2 = "s02") {
return 301 /dir2cast/02ram/$season_2$episode_label.mp3;
}
return 301 /dir2cast/01sw/$episode_label.mp3;
}
#location /podcast/dir2cast.php {
# rewrite /podcast/(dir2cast.php) /dir2cast/$1;
#}
location /podcast {
return 301 /podcast/;
}
location /podcast/ {
alias /var/www/podcast/;
autoindex on;
if ( $arg_name) {
return 301 /podcast/media/$arg_name;
}
location ~* (/podcast/)(?<dir>.*)/feed {
rewrite /podcast/ /dir2cast/dir2cast.php?dir=podcast/$dir;
}
location ~ (\.php|\.ini|\.conf)$ {
return 403;
}
}
location /dir2cast/ {
alias /var/www/dir2cast/;
location ~ ^/dir2cast/dir2cast.php {
# return 501;
include fastcgi_params;
fastcgi_pass php:9000;
add_header x-test "$args" always;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~ (\.php|\.ini)$ {
return 403;
}
}