Merge pull request #9 from sander1/master

Strip off anything after the end of the xml (in update method). MPAA rating fix.
Revert "Strip off anything that can come after the xml content, also in the update method."

This reverts commit add0ee34029a38ad1034cf917f4459a0cc1d8a41.

See https://github.com/gboudreau/XBMC-Movies-Metadata-Agent-for-Plex/commit/add0ee34029a38ad1034cf917f4459a0cc1d8a41#commitcomment-2996833 to understand why this was reversed.
Correctly handle files that have URLs suffixed, and also files that contain multiple <movie/> tags.
Fixed recognition of movies with movie.nfo file.
Merge pull request #12 from SlrG/master

Fixed recognition of movies with movie.nfo file.
Fixed recognition of multipart files and VIDEO_TS structures. I also moved some things around and changed them in an atempt to clarify the agent structure and make it more easy to add additional file recognition strings.
Merge pull request #13 from SlrG/multipartfix

Fixed recognition of multipart files and VIDEO_TS structures.
Added some more recognition patterns as per plex forum request.
Merge pull request #14 from SlrG/master

Added accepting from localmedia agent, and some more recognition patterns, per Plex forum requests.
Fixes: DLNA poster, Rating & MPAA Rating

DLNA poster:
    Get poster from movie_name.jpg (many DLNA servers/clients work this way)

Rating:
    Work with Ratings that have commas e.g. 8,6 (for countries that use comma as decimal symbol instead of dot)

MPAA Rating:
    Work for both "Rated bla" and "Rated bla blu" (the previous didn't work for "Rated bla")
Merge pull request #15 from crazyrabbit0/master

Fixes: DLNA poster, Rating & MPAA Rating
Fix: Content Rating

Content Rating:
Sets NR (Not Rated) as default(right behavior) this way, any previously wrong rated movie without true rating is set to NR
for instance: I had movies with Rating in the nfo: 'Rated ', without any actual rating, which makes no sense and the correct value should be NR
Merge pull request #16 from crazyrabbit0/master

Fix: Content Rating
Fixes: MPAA Rating & Dual Images

MPAA Rating:
Works for ANY rating regardless of the US types
(Thanks to Luzifel for pointing out)

Dual Images:
Commented out the parts for images (posters/banners/etc)that already exist in the LocalMedia.bundle Scanner, to avoid having double records that clatter & increase the size of the library for no reason.
Clean Up

Add if for VIDEO_TS,
without it you have the same image twice.
Merge pull request #17 from crazyrabbit0/master

Fixes: MPAA Rating & Dual Images
Fix: Content Rating

Content Rating:
Better recognition that works for almost any country content rating,
as found in wikipedia's 'Motion picture rating system' article.
Merge pull request #18 from crazyrabbit0/master

Fix: Content Rating
Fix: Summary, Multiline Items | Clean Up: VIDEO_TS, Comments, Log

Summary:
If exists, it uses the outline instead of the plot, because it's shorter (sometimes MUCH shorter) and easier to read.

Multiline Items:
Writers, Directors, Genres, Countries, Collections can read both multiple lines and one line separated by '/'.

VIDEO_TS:
Made one boolean to be used, to reduce the processing time.

Comments:
Made More readable.

Log:
Added/changed to log more data for easier debugging.
Merge pull request #19 from crazyrabbit0/master

Fix: Summary, Multiline Items | Clean Up: VIDEO_TS, Comments, Log