[RELEASE] MyMovies.DK Video Scraper
#4
Hi

I recently moved to XBMC from other options, delighted apart from the scraping which I find really hit & miss.

I used metaBrowser before and would like to continue doing so; easy GUI for managing fanart, poster & movie/TV data. http://themetabrowser.com/

The result is a MyMovies.xml file which stores the metadata.

Code:
<Title>
  <LocalTitle>Public Enemies</LocalTitle>
  <OriginalTitle>Public Enemies</OriginalTitle>
  <SortTitle>Public Enemies</SortTitle>
  <Added>20/10/2009 19:14:06</Added>
  <ProductionYear>2009</ProductionYear>
  <RunningTime>140</RunningTime>
  <IMDBrating>7.4</IMDBrating>
  <MPAARating>R</MPAARating>
  <Description>Public Enemies is a 2009 crime film directed by Michael Mann. Set during the Great Depression, it focuses on the true story of FBI agent Melvin Purvis's attempt to stop criminals John Dillinger, Baby Face Nelson, and Pretty Boy Floyd.</Description>
  <Type />
  <AspectRatio>2.35:1</AspectRatio>
  <LockData>False</LockData>
  <IMDB>tt1152836</IMDB>
  <TMDbId>11322</TMDbId>
  <Genres>
    <Genre>Crime</Genre>
    <Genre>Thriller</Genre>
  </Genres>
  <Persons>
    <Person>
      <Name>Michael Mann</Name>
      <Type>Director</Type>
      <Role />
    </Person>
    <Person>
      <Name>Christian Bale</Name>
      <Type>Actor</Type>
      <Role>Melvin Purvis</Role>
    </Person>
    <Person>
      <Name>Johnny Depp</Name>
      <Type>Actor</Type>
      <Role>John Dillinger</Role>
    </Person>
    <Person>
      <Name>Giovanni Ribisi</Name>
      <Type>Actor</Type>
      <Role>Alvin Karpis</Role>
    </Person>
    <Person>
      <Name>Billy Crudup</Name>
      <Type>Actor</Type>
      <Role>J. Edgar Hoover</Role>
    </Person>
    <Person>
      <Name>Emilie de Ravin</Name>
      <Type>Actor</Type>
      <Role>Anna Patzke</Role>
    </Person>
    <Person>
      <Name>Channing Tatum</Name>
      <Type>Actor</Type>
      <Role>Pretty Boy Floyd</Role>
    </Person>
    <Person>
      <Name>Marion Cotillard</Name>
      <Type>Actor</Type>
      <Role>Billie Frechette</Role>
    </Person>
    <Person>
      <Name>Leelee Sobieski</Name>
      <Type>Actor</Type>
      <Role>Polly Hamilton</Role>
    </Person>
  </Persons>
  <Studios>
    <Studio>Forward Pass</Studio>
    <Studio>Universal Pictures</Studio>
  </Studios>
</Title>

My question is - would it be possible to develop a plugin which reads in this file rather for metadata than the MyVideos SQLite DB? There is also the default filename for fanart & posters but think I have a fix for that (although I suppose if it is possible to replace the text then the image name should be possible also?)

If anybody with any experience in this area thinks it would be possible I will give it my best shot; competent developer on other platforms but this is my first go on Linux/XBMC.

Perhaps the best bet would be to modify the metaBrowser tool to write to the SQLite DB - unsure if that would really be possible though.. maybe a script which reads all the XML and stores it in SQLite (including the alternate fanart/poster image file names)

Thanks for any advice/tips etc. Smile

Gus
Reply


Messages In This Thread
[No subject] - by ultrabrutal - 2009-08-11, 10:26
[No subject] - by pecinko - 2009-10-15, 02:27
MyMovies.xml Scraping? - by gusf1 - 2009-12-18, 00:47
[No subject] - by jmarshall - 2009-12-18, 02:04
[No subject] - by mkortstiege - 2009-12-18, 08:55
[No subject] - by gusf1 - 2009-12-18, 21:15
[No subject] - by bleze - 2010-01-20, 13:02
[No subject] - by pecinko - 2010-01-21, 03:38
[No subject] - by dnadna - 2010-01-26, 11:54
[No subject] - by spiff - 2010-01-26, 19:34
[No subject] - by bleze - 2010-01-27, 09:55
[No subject] - by dnadna - 2010-01-27, 17:18
[No subject] - by pecinko - 2010-01-28, 10:28
[No subject] - by bleze - 2010-01-28, 13:02
[No subject] - by spiff - 2010-01-28, 14:19
No actors thumbs - by lifeisfun - 2010-02-08, 23:27
[No subject] - by bleze - 2010-02-09, 14:17
[No subject] - by lifeisfun - 2010-02-09, 23:05
[No subject] - by bleze - 2010-12-16, 16:06
[No subject] - by alex.ba - 2011-04-28, 12:54
[No subject] - by alex.ba - 2011-05-03, 18:01
Logout Mark Read Team Forum Stats Members Help
[RELEASE] MyMovies.DK Video Scraper1