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:
Code:
<!--deleteafterwatching-->
<control type="radiobutton" id="2003">
<width>750</width>
<height>40</height>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<label>Enable DELETE After Watching TV Episodes</label>
<onclick>Skin.ToggleSetting(DeleteEps)</onclick>
<selected>Skin.HasSetting(DeleteEps)</selected>
<include>button_Settings</include>
</control>
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:
Code:
<control type="button" id="7"><!--new button control to Delete program-->
<description>Delete</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>184</label><!--label changed to read "Delete" in strings.xml file--->
<onclick>xbmc.RunScript(special://skin/scripts/deletefile.py)</onclick>
<visible>Skin.HasSetting(DeleteEps)</visible> <!--button is visible only through Settings-->
</control>
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.