No problem. Here is what I did, step by step.
To add the option to delete shows after watching, add this code to CustomSettings_111.xml at about line 296:
<control type="radiobutton" id="2003">
<label>Enable DELETE After Watching TV Episodes</label>
In DialogVideoInfo.xml search for this line: <control type="togglebutton" id="8"> or the words "Play/Browse" These will be the buttons that show up as "Play" Refresh Cast Trailer etc. Add a new button control for the Delete button as follows:
<control type="button" id="7"><!--new button control to Delete program-->
<label>184</label><!--label changed to read "Delete" in strings.xml file--->
<visible>Skin.HasSetting(DeleteEps)</visible> <!--button is visible only through Settings-->
You can either comment out the Refresh button control so it does not appear or leave it on, your choice. Put the Delete button control code directly after the Refresh button control or in place of it.
You will notice in the above code that label 184 will show on the Delete control. Find string.xml in the confluence/language/English folder for XBMC. Search for label 184 and replace the text (which I think is the word "Refresh" with the word Delete.
make a new folder called scripts under the confluence skin folder (but not in the 720p folder). Place the script (which I named deletefile.py) in that folder.
Restart XBMC and you should be good to go.Don't forget to go into Settings/Video and enable the Delete After Watching option. That is the only way that the Delete button will appear for you.