On Thu, Oct 14, 2010 at 10:58 PM, [email protected] <[email protected]> wrote:
> Hi, please do a git pull from my git repository  for movieplayer.it scrapers
> for movies
>
>
> Name: Movieplayer.it for movies
> addon: metadata.movieplayer.it
> version: 1.1.0
> url: git://github.com/KoTiX/movieplayer_film.git
>
> The version bump to 1.1.0 is due to the fact that movieplayer.it site  has
> finally removed the base64 search encoding, so i've not to use Google anymore
> for searching.

hi,

attached you find 3 diffs. also see
http://forum.xbmc.org/showthread.php?p=629945

cheers

spiff
From 64c8bc7c30a88e6879867b9d779fbd023e3ff823 Mon Sep 17 00:00:00 2001
From: spiff <[email protected]>
Date: Fri, 22 Oct 2010 18:09:59 +0200
Subject: [PATCH 1/3] fixed: lowercase C or no happy xbmc

---
 Changelog.txt |   24 ------------------------
 changelog.txt |   24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 24 deletions(-)
 delete mode 100644 Changelog.txt
 create mode 100644 changelog.txt

diff --git a/Changelog.txt b/Changelog.txt
deleted file mode 100644
index 9ac778d..0000000
--- a/Changelog.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Changelog:
-
-14/10/2010 - Finally added the movieplayer.it own search (they removed the base64 encoding). Added one option in settings for Google search and anothe rone to get just one or more Posters from MP. Added Polish Translation. The version bump now to 1.1.0 :P
-29/09/2010 - Updated GetImdbStuff function to match IMDb latest site changes
-28/08/2010 - Reduced movieplayer.it fanarts pages just to the summary one to improve speed
-27/08/2010 - Changed the search string for better results. Version now is 1.0.9
-10/08/2010bis - Added hungarian strings, fixed addon.xml order descprition new version now 1.0.8 one step fwd from xbmc repo as it should be
-10/08/2010 - Created git repository new version is 1.07
-29/07/2010 - Fixed Plot because of another site code change.
-20/07/2010 - Small optmizations for better results; slightly mods to plot, tagline and outline; some small fixes for Xbmc Dharma
-18/07/2010 - Updated to match the latest changes to the site (again)
-21/04/2010 - Updated to match the latest changes to the site
-05/03/2010 - Added Fanart collector and fixed Actors bug
-04/01/2010 - Improved the Google search adding the "Year" to the "CreateSearchUrl" and "sorted=yes" to the "GetSearchResults"
-02/01/2010 - Removed "Cimi's" search and left only the Google one.
-04/12/2009 - Fixed TMDB Fanarts and Thumbs broken due to Camelot beta changes in "common" folder
-20/11/2009 - Added option to retreive up to 4 pages of results from mp.it it' will take longer obviously.
-17/11/2009 - Added staright MP search (tnx Cimi for the great help), still possible to use Google search enabling it in the scraper settings.
-16/11/2009 - cleanup of results title names for future XBMC filtering of duplicated entries (r24674 )
-15/11/2009 - fixed "outline" problem with the Rapier skin, it actually contain the plot and not the curiosity anymore.
-14/11/2009 - changed search url with myown google custom search to have more results
-12/11/2009 - changed method to retrieve the IMDb ID and the so the MPAA, studio, rating and Fanart
-09/11/2009 - added scraping of MPAA, studio, and ratings from IMDb (enabled by default, if disabled it will retrieve thos from movieplayer.it but the datas will probably be unusable by skins that use MPAA and studo icons)
-04/11/2009 - added download of TMDB Posters and Fanarts and fixed their selection in settings
diff --git a/changelog.txt b/changelog.txt
new file mode 100644
index 0000000..9ac778d
--- /dev/null
+++ b/changelog.txt
@@ -0,0 +1,24 @@
+Changelog:
+
+14/10/2010 - Finally added the movieplayer.it own search (they removed the base64 encoding). Added one option in settings for Google search and anothe rone to get just one or more Posters from MP. Added Polish Translation. The version bump now to 1.1.0 :P
+29/09/2010 - Updated GetImdbStuff function to match IMDb latest site changes
+28/08/2010 - Reduced movieplayer.it fanarts pages just to the summary one to improve speed
+27/08/2010 - Changed the search string for better results. Version now is 1.0.9
+10/08/2010bis - Added hungarian strings, fixed addon.xml order descprition new version now 1.0.8 one step fwd from xbmc repo as it should be
+10/08/2010 - Created git repository new version is 1.07
+29/07/2010 - Fixed Plot because of another site code change.
+20/07/2010 - Small optmizations for better results; slightly mods to plot, tagline and outline; some small fixes for Xbmc Dharma
+18/07/2010 - Updated to match the latest changes to the site (again)
+21/04/2010 - Updated to match the latest changes to the site
+05/03/2010 - Added Fanart collector and fixed Actors bug
+04/01/2010 - Improved the Google search adding the "Year" to the "CreateSearchUrl" and "sorted=yes" to the "GetSearchResults"
+02/01/2010 - Removed "Cimi's" search and left only the Google one.
+04/12/2009 - Fixed TMDB Fanarts and Thumbs broken due to Camelot beta changes in "common" folder
+20/11/2009 - Added option to retreive up to 4 pages of results from mp.it it' will take longer obviously.
+17/11/2009 - Added staright MP search (tnx Cimi for the great help), still possible to use Google search enabling it in the scraper settings.
+16/11/2009 - cleanup of results title names for future XBMC filtering of duplicated entries (r24674 )
+15/11/2009 - fixed "outline" problem with the Rapier skin, it actually contain the plot and not the curiosity anymore.
+14/11/2009 - changed search url with myown google custom search to have more results
+12/11/2009 - changed method to retrieve the IMDb ID and the so the MPAA, studio, rating and Fanart
+09/11/2009 - added scraping of MPAA, studio, and ratings from IMDb (enabled by default, if disabled it will retrieve thos from movieplayer.it but the datas will probably be unusable by skins that use MPAA and studo icons)
+04/11/2009 - added download of TMDB Posters and Fanarts and fixed their selection in settings
-- 
1.7.0.4

From b0b89d216d74bdf0017f693166a8f01cac4acfa8 Mon Sep 17 00:00:00 2001
From: spiff <[email protected]>
Date: Fri, 22 Oct 2010 18:10:29 +0200
Subject: [PATCH 2/3] fixed: trim buffer since the expression is very greedy. if a user has inserted whitespace, url ends up wrong

---
 movieplayer.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/movieplayer.xml b/movieplayer.xml
index ad6df42..97fa9e6 100644
--- a/movieplayer.xml
+++ b/movieplayer.xml
@@ -3,7 +3,7 @@
 
 	<NfoUrl dest="3">
 		<RegExp input="$$1" output="\1" dest="3">
-			<expression noclean="1">(http://www\.movieplayer\.it/film/[0-9]+/[^"]+)</expression>
+			<expression noclean="1" trim="1">(http://www\.movieplayer\.it/film/[0-9]+/[^"]+)</expression>
 		</RegExp>
 	</NfoUrl>
 
@@ -251,4 +251,4 @@
 			<expression>/tt([0-9]+)</expression>
 		</RegExp>
 	</ChainTMDBThumbs>
-</scraper>
\ No newline at end of file
+</scraper>
-- 
1.7.0.4

From 9e4e223c7bb954303a7ece6937c71fe0eb21432e Mon Sep 17 00:00:00 2001
From: spiff <[email protected]>
Date: Fri, 22 Oct 2010 18:11:23 +0200
Subject: [PATCH 3/3] fixed: nfourl expects a <url> tag these days

---
 movieplayer.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/movieplayer.xml b/movieplayer.xml
index 97fa9e6..4ea05f0 100644
--- a/movieplayer.xml
+++ b/movieplayer.xml
@@ -2,7 +2,7 @@
 <scraper framework="11" date="2010-10-14">
 
 	<NfoUrl dest="3">
-		<RegExp input="$$1" output="\1" dest="3">
+		<RegExp input="$$1" output="&lt;url&gt;\1&lt;/url&gt;" dest="3">
 			<expression noclean="1" trim="1">(http://www\.movieplayer\.it/film/[0-9]+/[^"]+)</expression>
 		</RegExp>
 	</NfoUrl>
-- 
1.7.0.4

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to