I think you're misunderstanding my point:-

In the xml file you've used <code>scrobbleMenu('Recently Aired Episode'</code>
But the the js  if statement you've used <code>Recently Aired</code>

Meaning the View Show item will never appear for the "Recently Aired" section because the if statement will never be true. The only reason I send "Episode" or "Season" is to set the title of the menu, it has no bearing on the actual type of the item :)