Details' retrieving from two cites in one scraper (1 Viewer)

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
43
Texas
Home Country
United States of America United States of America
I was not aware of the <log> node being broken. Are you specifying a logging level? By default it is in debug mode and if you do not have MediaPortal set to log debug messages they may not be displayed....

Also, have you placed the scraper engine in debug mode? It actually almost verges on information overload, but putting the scrapper engine in debug mode will give you logging messages for almost everything that is done. You can turn this on in one of the Data Sources pop-ups, click the gear toolbar button and click Enable Debug Mode. Also make sure you have MediaPortal in debug mode
 

mitiok2008

Portal Pro
February 1, 2009
115
1
I was not aware of the <log> node being broken. Are you specifying a logging level? By default it is in debug mode and if you do not have MediaPortal set to log debug messages they may not be displayed....

Also, have you placed the scraper engine in debug mode? It actually almost verges on information overload, but putting the scrapper engine in debug mode will give you logging messages for almost everything that is done. You can turn this on in one of the Data Sources pop-ups, click the gear toolbar button and click Enable Debug Mode. Also make sure you have MediaPortal in debug mode

I'll try to check today evening, but I think it's not about logging level. I put in scraper log node from the guide : <log loglevel="Debug" message="Hello world!" />, but even in debug mode MovPict doesn't load it, says - that is not propper scraper (something like this). You can check it it attached log-file.
 

Attachments

  • movingpictures.old.zip
    30.7 KB

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
43
Texas
Home Country
United States of America United States of America
I see, it looks like the attribute names are nonstandard with this node for some reason. Try this:

Code:
<log LogLevel="Debug" Message="Hello world!" />

In a future release we will change this so the attribute names are more consistent (but we will keep it backwards compatible so as not to break anything).
 

mitiok2008

Portal Pro
February 1, 2009
115
1
I see, it looks like the attribute names are nonstandard with this node for some reason. Try this:

Code:
<log LogLevel="Debug" Message="Hello world!" />

In a future release we will change this so the attribute names are more consistent (but we will keep it backwards compatible so as not to break anything).
thanks! it's working... nope - it's loaded, but doesn't working :(. I mean I'm not able to find ANY log message I add in log-file (should it be in movingpictures.log?).

ok. I'll ask another way. will work the following - under scarper node <action name="get_details">
1. all necessary sets
2. retrieve page from kinopoisk to get details
3. retrieve page from IMDB,com to get IMDB_ID using altertate titles from kinopoisk.

???

I tried to put the 3-d section as well under "search" node, but in both cases I havn't seen ANYTHING into log-file.
 

mitiok2008

Portal Pro
February 1, 2009
115
1
Please, I need help! If there are ANY way to debug scraper??? I try to use log node as mentioned above by fforde. It's loaded but nothing happened in log-file. I would like to see if my retrieve nodes works, but NO info into log-file - so I'm not able to debug it... really pity.
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
43
Texas
Home Country
United States of America United States of America
mitiok2008, the example I gave works, I have tested it. And like I said if you put the scraper engine in debug mode you get TONS of extra logging. You probably just do not have debug logging turned on for MediaPortal.
 

Users who are viewing this thread

Top Bottom