Writing own movie scraper / Unable to connect to remote Server

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vdrfan Offline
Team-XBMC Developer
Posts: 2,793
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #11
Looks good to me.. and it actually "kinda" works.

Currently you have ..

Code:
<RegExp input="$$1" output="&lt;year&gt;&lt;/year&gt;&lt;director&gt;&lt;/director&gt;&lt;runtime&gt;\1&lt;/runtime&gt;" dest="8+">
  <expression trim="1" noclean="1">&lt;strong&gt;Dauer:&lt;/strong&gt;([\s0-9:]*)</expression>
</RegExp>

.. which only populates the runtime. In that case just use ..

Code:
<RegExp input="$$1" output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="8+">
  <expression trim="1" noclean="1">&lt;strong&gt;Dauer:&lt;/strong&gt;([\s0-9:]*)</expression>
</RegExp>

.. and do the same for all video info tags (like year, director) you're able to fetch from the site.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
m0nk3y Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Location: Germany
Post: #12
Oh ok. I thought I red somthing about "...some tags must not be missing..." while collecting information on how to write my own media scraper. But I wasn't able to recover that page with its list of the needed tags.
So I decided to copy all the tags used by the xbmc example scraper (from the wiki) whether I use them or not. I will remove the tags I cannot fetch information for.

Quote:Looks good to me.. and it actually "kinda" works.

Could you further explain that please? It "kinda" works with XBMC or with any scraper tester or something?
Or do you mean something like "it probably should work after solving the 'unable-to-connect' Problem"? Smile

\EDIT:
Removing all unused tags unfortunately did not solve the problem
(This post was last modified: 2012-02-13 20:55 by m0nk3y.)
find quote
vdrfan Offline
Team-XBMC Developer
Posts: 2,793
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #13
Kind works means, I've just replaced the scrapers .xml file from an installed add-on with yours and it "kinda" worked. Your build is actually using the add-on system?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
m0nk3y Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Location: Germany
Post: #14
I think so. It's a clean XBMC Eden Beta3 installation.

  1. Remove old XBMC (also the private data)
  2. Download and install XBMC Eden Beta 3
  3. Copy the metadata.dokujunkies.org folder to the addons directory
  4. Start XBMC
  5. Install YouTube plugin (combined with Common Plugin Cache)
  6. Add a new source that contains "movies"
  7. Select the Dokujunkies.org scraper to be used with this source
  8. Scan for new content


After that I get the "Unable to connect..."-Error. As I mentioned before I placed my scraper in the "C:\ProgrammFiles\XBMC\addons\" directory. I don't change anything in "C:\User\...\AppData\Roaming\XBMC\" what also contains a folder named addons.
find quote
vdrfan Offline
Team-XBMC Developer
Posts: 2,793
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #15
Please upload the entire addon and/or pastebin the entire xbmc debug log.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
m0nk3y Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Location: Germany
Post: #16
Hey, thanks for your patience.

Debug Log: klick
Scraper: klick

Hope that helps.
find quote
vdrfan Offline
Team-XBMC Developer
Posts: 2,793
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #17
Typo in addon.xml. dokujunkies.xml != dukujunkies.xml

Had no time to check it yet but I bet once sorted you should get first results Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
m0nk3y Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Location: Germany
Post: #18
Shocked

You would not believe how embarrassing this is for me even if I would try to tell you.

After dissolving this "highly complex" problem, I'm glad to tell you that now everything works how it should. Thank you very much!!! Wink

A short compendium how to fix this error (for all of you having the same problem):
Stop drinkin beer and check the spelling of all things, you're absolutely sure they're spelled correct.

Thanks again!
find quote
vdrfan Offline
Team-XBMC Developer
Posts: 2,793
Joined: Jan 2008
Reputation: 7
Location: Germany
Post: #19
Glad to hear it's working now Big Grin

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
cruisebarth Offline
Junior Member
Posts: 7
Joined: Apr 2012
Reputation: 0
Post: #20
Hello how can i ADd the scraper to xbmc On Apple tv Box? I dont find it there. I Copied the Metadata file to xbmc Addis
find quote
Post Reply