midgetspy/Sick-Beard — pull request #332 by dstjacques (2012-03-13 13:22:24+00:00)
Title: Updated searching for new shows to also query each word individually

For a lot of shows and movies it's difficult to know which format of the title the TV database is using. Modified the searchTVDBForShowName() function to also query each word in the search field individually. The concatenation of all search words is the first thing searched to keep the most relevant results appearing first. Results for each individual word appear afterwards as secondary results.

As an example searching for "law and order svu" would now search for "law", "and", "order", and "svu" and the results would include the desired show "Law & Order: Special Victims Unit" for which the spelling was unknown.