SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-29-2012, 01:03 AM
OferL OferL is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 109
Scraper script - what am I doing wrong?

I use this script:
MediaTitles.xml
Code:
<titles>
  <match>
    <regex>[\\/]Louie</regex>
    <title>Louie</title>
    <metadata type="TV" name="tvdb">155201</metadata>
  </match>
</titles>
<titles>
  <match>
    <regex>[\\/]Touch</regex>
    <title>Touch (2012)</title>
    <metadata type="TV" name="tvdb">248935</metadata>
  </match>
</titles>
<titles>
  <match>
    <regex>[\\/]Ntsf Sd Suv</regex>
    <title>NTSF:SD:SUV::</title>
    <metadata type="TV" name="tvdb">248261</metadata>
  </match>
</titles>
<titles>
  <match>
    <regex>[\\/]Law and Order Svu</regex>
    <title>Law and Order Special Victims Unit</title>
    <metadata type="TV" name="tvdb">75692</metadata>
  </match>
</titles>
I get this error:

Quote:
C:\Program Files (x86)\SageTV\SageTV\.\STVs\Phoenix\scrapers\MediaTitles.xml
The markup in the document following the root element must be well-formed. at line 8 and column 2
What is wrong with my script? is the second entry wrong? how?
Reply With Quote
  #2  
Old 06-29-2012, 07:07 AM
Bagal Bagal is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: Surrey, UK
Posts: 183
You should only have the one 'titles' element, try the following:

Code:
<titles>
  <match>
    <regex>[\\/]Louie</regex>
    <title>Louie</title>
    <metadata type="TV" name="tvdb">155201</metadata>
  </match>
  <match>
    <regex>[\\/]Touch</regex>
    <title>Touch (2012)</title>
    <metadata type="TV" name="tvdb">248935</metadata>
  </match>
  <match>
    <regex>[\\/]Ntsf Sd Suv</regex>
    <title>NTSF:SD:SUV::</title>
    <metadata type="TV" name="tvdb">248261</metadata>
  </match>
  <match>
    <regex>[\\/]Law and Order Svu</regex>
    <title>Law and Order Special Victims Unit</title>
    <metadata type="TV" name="tvdb">75692</metadata>
  </match>
</titles>
__________________
Server: Win7 64bit; i5 2500; 32GB ram; Blackgold BGT3595; 18TB + 120GB SSD; Edgestore DAS401T; DVBLink; Oscam; Omnikey 3121
Lounge Client: HD300; Yamaha RX-V765 connected to 55" Furrion 1080p LCD; Logitech Harmony One remote
Kitchen: HD300 32" LCD, Bed 1: HD300 - 40" LCD, Bed 2: HD300 - 24" LCD, Bed 3: HD300 - 22" LCD
Reply With Quote
  #3  
Old 07-02-2012, 04:13 AM
OferL OferL is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 109
That did it!
Thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with scraper. adone36 Batch Metadata Tools 5 05-29-2012 12:59 PM
TV.com automatic scraper roxy99 SageTV Customizations 141 10-27-2010 09:08 PM
Movie trailer scraper jaminben SageTV v7 Customizations 13 07-18-2010 09:37 AM
Looking for Title/Season/Episode naming formats to support for metadata scraper evilpenguin General Discussion 17 01-08-2009 04:43 PM
Properties file and genre for a possible IMDB scraper. mherce SageTV Customizations 4 06-28-2008 05:29 AM


All times are GMT -6. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.