XBMC Community Forum
[RELEASE] Movieplayer.it scraper for Movies new version (Italian) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Metadata scrapers (/forumdisplay.php?fid=147)
+---- Thread: [RELEASE] Movieplayer.it scraper for Movies new version (Italian) (/showthread.php?tid=60585)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


- KoTiX - 2010-09-27 23:37

Tnx for reporting it, Imdb changed some stuff on the site, I'm working on it and i'm thinking to retreive those data from imdb.it instead of imdb.com.


- KoTiX - 2010-09-28 07:26

The scraper is updated, enjoy Smile


- gulp - 2010-09-28 07:44

It's ok again now! As always, thank you!


- KoTiX - 2010-10-15 00:21

Just to let you know guys, Movieplayer has finally removed the base64 search encoding so we can use it's own search engine instead of using google.
I already submitted to my git and to xbmc repo the new version of the scraper, so expect an automatic update soon.
The Google search is still there for those who want a quicker search, just enable it in the settings.
I also added an option to download just the main poster or all the movieplayer.it posters (main poster should be quicker too).

Hope you enjoy it as usual.
Cheers Smile


- elite1967 - 2010-10-22 16:01

Hi KoTiX,
I am having trouble with the scraper:
I have several italian ripped DVDs in one directory and all of them have a .nfo file pointing to the relevant page in "movieplayer.it".

But I am not able to define sets in the nfo file:

Let me explain better:
Files in the directory:
[INDENT]Amici Miei.iso
Amici Miei.nfo
Amici Miei atto II.iso
Amici Miei atto II.nfo
[/INDENT]

If I use the following 2 .nfo files it works perfectly:

Amici Miei.nfo:
Code:
http://www.movieplayer.it/film/2187/amici-miei/
Amici Miei atto II.nfo:
Code:
http://www.movieplayer.it/film/11507/amici-miei-atto-ii/


But if I use these in order to create sets, it doesn't show anything:

Amici Miei.nfo:
Code:
<movie>
        <set>Amici Miei</set>
</movie>
http://www.movieplayer.it/film/2187/amici-miei/
Amici Miei atto II.nfo:
Code:
<movie>
        <set>Amici Miei</set>
</movie>
http://www.movieplayer.it/film/11507/amici-miei-atto-ii/

What is wrong?
thanks


- spiff - 2010-10-22 16:05

partially my fault. the scraper isn't updated to use the required <url> tag. try this

Code:
diff --git a/metadata.movieplayer.it/movieplayer.xml b/metadata.movieplayer.it/movieplayer.xml
index 83dd129..0225d79 100644
--- a/metadata.movieplayer.it/movieplayer.xml
+++ b/metadata.movieplayer.it/movieplayer.xml
@@ -2,7 +2,7 @@
<scraper framework="11" date="2010-08-28">

        <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">(http://www\.movieplayer\.it/film/[0-9]+/[^"]+)</expression>
                </RegExp>
        </NfoUrl>



- elite1967 - 2010-10-22 16:07

sorry spiff,
I don't undesratnd how to use this code.
I am using both a Windows and Linux Live version.

Where am I supposed to paste it?

grazie


- spiff - 2010-10-22 16:27

it's a patch. you need to edit (paths are for live, i don't know the windows side of shit properly) ~/.xbmc/addons/metadata.movieplayer.it/movieplayer.xml and apply the changes i've done. basically, it's changing the output in the NfoUrl function to &lt;url&gt;\1&lt;/url&gt; instead of just \1


- elite1967 - 2010-10-22 16:53

Hi spiff,
I tried your code but the result is still the same.
Here is the beginning of my movieplayer.xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<scraper framework="11" date="2010-10-14">

<NfoUrl dest="3">
    <RegExp input="$$1" output="&lt;url&gt;\1&lt;/url&gt;" dest="3">
        <expression noclean="1">(http://www\.movieplayer\.it/film/[0-9]+/[^"]+)</expression>
    </RegExp>
</NfoUrl>

I don't know if this could help, but it's part of the xbmc.log:
Code:
16:41:45 T:3172 M:848355328  NOTICE: VideoInfoScanner: Starting scan ..
16:41:45 T:3172 M:849113088 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 22
16:41:45 T:3172 M:849113088   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
16:41:45 T:3172 M:849113088   ERROR: ADDON::CScraper::Run: Unable to parse web site
16:41:58 T:3172 M:843714560   ERROR: Previous line repeats 2 times.
16:41:58 T:3172 M:843714560 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 22
16:41:58 T:3172 M:843714560   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
16:41:58 T:3172 M:843714560   ERROR: ADDON::CScraper::Run: Unable to parse web site
16:41:59 T:3172 M:843726848  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:13

Anything wrong that I am doing?


- spiff - 2010-10-22 16:55

need debug logging enabled to really tell but that seems to indicate the urls are incorrect. your changes looks fine.