Fix object is unsubscriptable error

Mis-handled uniqueid when type was non-library item, removed it, and added check in api function to add uniqueid to data passed if it exists in video info.
Check year of non-library item, if its digits, add it to the information.
Fix typo

Fix typo, had an extra comma for some reason.
Merge pull request #81 from nate1280/unknown_type_check_fix2

Fix object is unsubscriptable error