This is straightforward if your data is in DB (or file for that matter).
If you have just the one episode.php file and get the relevant programme via querystring and $_GET variable.
The structure of your data will be the key consideration.
If in a DB:
programmes table
id (PK)
page_title (varchar, 200?)
page_description (text)
page_keywords (text)
programme_title (varchar, 200?)
programme_contents (text)
programme_image (varchar, 100?)
programme_trailer_url (e.g. YouTube/Other id)
(other fields like main actors, director, production_company, year, etc)
The "page_" fields just get data to place into the HEAD area of the page. Perhaps "page_title" could be doubled up with "programme_title".
Using a DB may be useful as you could set up a WYSIWYG text editor (e.g. Spaw2/Yahoo!/FCKEditor/TinyMCE) to save this data.
Hand-coding hundreds of variables and placing them in a single file is probably asking for trouble.
The beauty of the DB is that you can search programmes by 'tag' (keywords) or category etc. You can also list programmes from the DB and create relevant links with the id in the querystring:
$output = "<ul>";
while(){
$output .="\n\t<li><a href=\"episode.php?prog_id={$row['id']}\"></a>{$row['title']}</li>";
}
$output .="\n</ul>";
...more code...
echo $output;
The querystring will then pass the relevant 'id' via $_GET['prog_id'] to the episode.php page. Then just query the DB to get the whole row - before the DTD. Then fill in your 'placeholder variables'.