reorganized
i believe everything works
This commit is contained in:
1
apps/podcast/01sw/description.txt
Normal file
1
apps/podcast/01sw/description.txt
Normal 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
|
||||
8
apps/podcast/01sw/dir2cast.ini
Normal file
8
apps/podcast/01sw/dir2cast.ini
Normal 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"
|
||||
|
||||
BIN
apps/podcast/01sw/itunes_image.jpg
Normal file
BIN
apps/podcast/01sw/itunes_image.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
1
apps/podcast/01sw/itunes_subtitle.txt
Normal file
1
apps/podcast/01sw/itunes_subtitle.txt
Normal file
@@ -0,0 +1 @@
|
||||
A FFG Star Wars RPG Story
|
||||
8
apps/podcast/02ram/dir2cast.ini
Normal file
8
apps/podcast/02ram/dir2cast.ini
Normal 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"
|
||||
|
||||
BIN
apps/podcast/02ram/itunes_image.jpg
Normal file
BIN
apps/podcast/02ram/itunes_image.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 290 KiB |
8
apps/podcast/03bitd/dir2cast.ini
Normal file
8
apps/podcast/03bitd/dir2cast.ini
Normal 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"
|
||||
|
||||
BIN
apps/podcast/03bitd/itunes_image.jpg
Normal file
BIN
apps/podcast/03bitd/itunes_image.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 654 KiB |
54
apps/podcast/dir2cast.ini
Normal file
54
apps/podcast/dir2cast.ini
Normal 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
|
||||
57
apps/podcast/podcast.nginx.conf
Normal file
57
apps/podcast/podcast.nginx.conf
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user