SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 01-06-2009, 03:27 PM
mickp's Avatar
mickp mickp is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 468
Quote:
Originally Posted by evilpenguin View Post
Just updated the download with a ton of fixes, the best of which is it won't create output files if it doesn't actually get any data.
From a quick look at the logs it appears that the new version has more than doubled the hit rate for my collection (still running). Thanks.

Will post the logs after work.

Mick.
Reply With Quote
  #22  
Old 01-07-2009, 12:49 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Quote:
Note: The TV sub folder is important in this case because it lets me know the difference between any random sub folder in the path and one containing the series name. Sorry, there's nothing I can do about that one.
Great tool EP - tested this out on a recording that I had transferred over to Imported videos and it worked like a charm.

One suggestion - you might be able to get around the forced "TV" folder with a command line switch. It's easy enough to create a shortcut with arguments for dragging and dropping. You could even create said shortcut and include it in the .zip file....

I just don't like having the TV folder show up. I'll live with it if I have to - I can always temporarily put files I want to process in a TV folder before moving them to the final location.

Well done!
btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #23  
Old 01-07-2009, 01:20 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by bialio View Post
One suggestion - you might be able to get around the forced "TV" folder with a command line switch.
Oh, I think you misunderstand (or I misunderstand your post). The TV sub folder isn't required for the tool to work, but it is necessary if I'm going to pull the Series Name/Season # out of the folder hierarchy. Otherwise I can think of a lot of cases where it fail....

(The stuff in bold is what the tool would catch)

Here, I'd have no way of knowing that Videos isn't the series name
Code:
G:\Videos\Scrubs 2x01 - My Overkill.avi
Here, I'd think Videos was the series name it was Season 5
Code:
G:\Videos\Babylon 5\Scrubs 2x01 - My Overkill.avi
Basically, if I don't know the name of the base folder then I can't know for sure that the folder right after it is the series name. So if I don't see a TV sub folder, I fall back to just looking at the file name to pull out everything.
Code:
G:\Videos\Scrubs 2x01 - My Overkill.avi

Last edited by evilpenguin; 01-07-2009 at 01:56 PM.
Reply With Quote
  #24  
Old 01-07-2009, 02:32 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
I understand why you need it - here's how I have stuff :

V:\Video\Stargate Atlantis\Season 1\1.Rising.ts

along with other seasons, etc.

I've got other shows here as well - along with non-TV related videos also. In Sage my import directory is "\\<server>\Video" - so I get a folder for each subfolder under Video. I just don't want to add another layer there of "TV" in the UI. There are ways around it, so it's not big deal either way....
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #25  
Old 01-07-2009, 03:28 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Edit: Hiding this post here so I can keep modifying it but it doesn't show up on the front page. Please, ignore it. -EP

Also, as a user you don't need to worry about this stuff, its strictly for devs. Just keep dragging and dropping


Creating Scrapers:

My main goal with this tool was to create something something that glossed over all of the complicated BS that makes web scrapping so difficult and diluted it down to its simplest form: HTML and Regular Expressions. Since I already had created a pretty robust and wildly over powered scripting language for my video tools plug-in I decided to just start there and expand as necessary. The result is a surprisingly powerful tool that automates the complicated parts and lets you focus on the essentials. I'm still hammering out a lot of the functionality so this post will be constantly getting updated, but I thought I'd get the ball rolling and just start the documentation. Its a little long, but this is essentially its own little programming language so its to be expected...

.scrape Files:
The entire execution of the scraper is controlled by whats read out of the .scrape files which are nothing but regular text files with some specific formatting. Each scrape file will contain one or more functions that when called execute their commands in order.

The basic format of a .scrape file is as follows...
Code:
# Scraper: theTVDBScrape
#
#  INPUT: %%inputFile%%     - File in SageRecording Format w/ airing ID in file name
#     OR: %%AiringID%%  - Airing ID for searching SageWebserver
#     OR: %%showTitle%% - Title of show to search
#

    Function      =theTVDB
    Target #1     =($$showTitle$$.*)
    Command #1    =/use "%%showTitle_STRIPSPACES%%"

# Scraper: theTVDBSearch
#
#  INPUT : %%showTitle%%    - Title of show to search
#  OUTPUT: %%tvdbID%%       - theTVDB show ID
#

    Function      =theTVDBSearch
    Target #1     =http://thetvdb.com/?string=%%showTitle%%&searchseriesid=&tab=listseries&function=Search
    Command #1    =/get $$tvDBSearchResultsHTML$$
    Target #2     =id=($$tvdbID$$[0-9]*)[^>]*>%%showTitle%%<\/a>.*English
    Command #2    =/use tvDBSearchResultsHTML
Functions:
Ignoring the content for a bit, all functions must start with a line that declares the name of the function that will be used to call it. It can contain spaces, numbers, and letters.
Code:
Function   =Function Name
The .scrape file above contains two functions: theTVDBSearch and theTVDB.
Targets/Commands:
Code:
Target #1  =Content depends on the command the command used
Command #1 =The command to run on the target
These have to always come in pairs and you can add in as many of them as you want to a function and they'll be executed in order. Basically they're just single actions you want to run that could do anything from calling another function, grabbing an HTML page, to writing to an output file.
Comments:
Then everything that's not a Function/Target/Command line will just be ignored so you can use that space to comment as you see fit.
Code:
# Scraper: theTVDBSearch
#
#  INPUT : %%showTitle%%    - Title of show to search
#  OUTPUT: %%tvdbID%%       - theTVDB show ID
#
Script Variables:
You'll notice a lot of %%something%% and $$somethingelse$$ in the functions: these are the script variables. You'll use these to store and retrieve the data you capture during your scraping. They appear in the the functions in two different forms.
%%variableName%% - These are variables that already have something stored in them and will be substituted for their value when the command is run. They don't need be defined anywhere and are created when you first use them. With few exceptions, there are no special or predefined variable names so essentially you're defining your CLI usage, internal scraper format, and output format as you go along. It seems a little confusing at first, but rest assured, there's nothing to it. Just pick your names and go with it

$$variableName$$ - These are variables that are going to have something stored in them in the current command. Afterwords their values will be accessible at anytime by using %%variableName%%.
Possible Commands:
The command line controls what actually gets done to the target. Here are a few of the possibilites...

/get $$variableToStoreHTML$$

This command will get the HTML page specified in the target line and store it in the $$variableToStoreHTML$$ variable.
Code:
Target #1   =http://thetvdb.com/?string=%%showTitle%%&searchseriesid=&tab=listseries&function=Search
Command #1  =/get $$tvDBSearchResultsHTML$$
/use "%%variable%%"

This command will will run the RegEx specified in the target line on the content of %%variable%%".
Code:
Target #1   =TV[\\\/]+($$showTitle$$[^\\\/]*)[\\\/]+[^0-9\\\/]+($$seasonNum$$[0-9]+)[\\\/]+.*($$episodeNum$$[0-9]{2})
Command #1  =/use "%%inputFile%%" /noOverWrite
The only special case here is that if you're using a variable captured from a /get you don't encase it in '%%'. I'm working on a fix for this to maintain consistency, but this will always work...
Code:
Target #2   =id=($$tvdbID$$[0-9]*)[^>]*>%%showTitle%%<\/a>.*English
Command #2  =/use tvDBSearchResultsHTML
Using a Regular Expression:
Code:
Target #2     =id=($$tvdbID$$[0-9]*)[^>]*>%%showTitle%%&<\/a>.*English
Command #2    =/use tvDBSearchResultsHTML
Aside from the $$tvdbID$$, there's nothing special about that regular expression. Its just copied and pasted exactly as you'd use it if it were inside of a Perl script...
Code:
$tvDBSearchResultsHTML =~ /id=([0-9]*)[^>]*>%%showTitle%%&<\/a>.*English/
And if you know your Perl then you also know that in everything ([0-9]*) captures will also be stored the special $1-$9 variables. For simplicities sake, both on the perl side and the scraper side, I let you store this in a more user friendly (and persistent) variable name:[/B].

So whenever you see ($$tvdbID$$[0-9]*) in a regular expression, all its doing is taking what's captured by ([0-9]*) and storing it in the %%tvdbID%% variable.
Optional flags to to use with /use:
/flatten - Remove all newlines from /use "%%variable%%". Useful for scrapping HTML pages where the data you want for a single variable is on multiple lines.

/noOverWrite - If the $$variable$$ already exists, don't overwrite it with the newly captured data.

/multiple, /split "splitChar":
There are times that you'll want to capture multiple matches to the same variable, i.e. all the actors. This is what the /multiple and /split flags are for. When you use them, it'll run the RegEx, capture what it matches into the specified variable, and then continues to run the RegEx on the remaining data concatenating all additional matches to the same variable. By default it separates the individual matches with "||", but you can also specify a custom split character using the /split flag.
Code:
Target #2     =<img src="($$actorPicture$$[^"]*)"[^>]*>\s*<h2><[^>]*>($$actors$$[^<]*)
Command #2    =/use tvDBActorInfoHTML /multiple /split ", "
/variable $$newVariable$$, /format "Some Format":
If you have data that you want to store in a special format, or combine existing data into you can use these two flags.
Code:
Target #2   =($$seasonNum$$[0-9]+) - ($$episodeNum$$[0-9]+)
Command #2  =/use tvDBShowInfoHTML /variable $$seasonXepisode$$ /format "$$seasonNum$$x$$episodeNum$$"
This example captures the $$seasonNum$$ and $$episodeNum$$ and then also creates a new variable $$seasonXepisode$$ which contains "$$seasonNum$$x$$episodeNum$$" (ex. 2x13). There are a lot of crafty was you can use this to format your data for capturing or for output, especially when used in conjunction with the /multiple flag.
/output outputFunctionName -

This command will use use the ouput format specified in a outputFormat.output file (which live right next to the .scrape files), substitute the variable for their values, and write to the file specified in the target line.
Code:
Target #2   = %%inputFile%%.info
Command #2  =/output infoSeriesInfo
.output File Example:
Code:
Title=%%showTitle%%
overview=%%showDescription%%
TVOriginalAiringDate=%%firstAired%%
actors=%%actorsCombinedProperties%%
TVEpisode=%%episodeTitle%%
TVOverview=%%episodeDescription%%
TVDuration=%%showRuntime%%
TVGenre=%%showGenre%%
TVChannelName=%%showNetwork%%


For starters all scrapers are compromised of a few common steps.
  1. Get the name of whatever you want to scrape data down for. In this example we'll be using the TV Series Name (%%seriesName%%), Season # (%%seasonNum%%), and Episode # (%%episodeNum%%). (Ex: House, Season 1, Episode 2)
  2. Use this information to search your chosen website in order to capture the links you need to get to the HTML pages that contain the information you want. In our case we'll be using the TV Series Name (%%seriesName%%) to seach for the series information page.
  3. Use regular expressions to pull out all the data you want from the HTML. In this example that will be Series/Episode information.
  4. Output that data in some type of usable format. In this example we'll be outputting a .info file that contains all of the data we captured.

Lets start off with the example scraper I created to build my program around: www.theTVDB.com.

theTVDB Example:

Step #1: Getting the Series Name, Season #, and Episode # out of the file name.

The key to this is know the format the file's are named in. For our example, TV Shows, it usually is something like this...
  • ...\TV\CSI\Season 1\01 - Somebody Dies.avi
  • ...\TV\CSI\01x01 - Somebody Dies.avi
  • CSI - 01x01 - Somebody Dies.avi
  • CSI - S01E01 - Somebody Dies.avi
  • CSI - S01E01.avi
  • CSI.S01E01.avi

I've taken the liberty of highlighting the parts we'll need to capture. Now that we know what we're dealing with we need to use RegEx's to capture that data and store it into script variables. What's a script variable? Glad you asked...

Code:
    # Scraper: theTVDBSearch
    #
    #  INPUT : %%showTitle%%    - Title of show to search
    #  OUTPUT: %%tvdbID%%       - theTVDB show ID
    #
    
        Profile       =theTVDBSearch
        Target #1     =http://thetvdb.com/?string=%%showTitle%%&searchseriesid=&tab=listseries&function=Search
        Command #1    =/get tvDBSearchResultsHTML
        Target #2     =id=($$tvdbID$$[0-9]*)[^>]*>%%showTitle%%&<\/a>.*English
        Command #2    =/use tvDBSearchResultsHTML
In the above example I'm taking the %%showTitle%% (which was either captured from the file name or input at the command line) and using it to grab a theTVDB search page. Then i'm using that page and running it through a RegEx to capture the %%tvdbID%% which is a unique 6 digit number that theTVDB uses to organize their TV Series database and is needed to get the rest of the metadata.
TIP: Anything surrounded by '%%' is my version of variables and will be substituted with its value when the command is run.
Getting HTML:
Code:
Target #1     =http://thetvdb.com/?string=%%showTitle%%&searchseriesid=&tab=listseries&function=Search
Command #1    =/get tvDBSearchResultsHTML
Couldn't be simpler. Get the HTML from http://thetvdb.com/?string=%%showTit...unction=Search and store it into the %%tvDBSearchResultsHTML%% variable.

Here's where things get a little ugly, if your not familiar with regular expressions... turn back now!
...
...
TIP: Anything thats surrounded by '$$' is a variable that's going to have something stored it in the command.

Last edited by evilpenguin; 01-27-2009 at 03:19 PM.
Reply With Quote
  #26  
Old 01-08-2009, 06:47 AM
MasonMan MasonMan is offline
Sage User
 
Join Date: Dec 2008
Posts: 13
Great utility! I love it! Thanks for all the work you have put into it. Can't wait until you are able to add movies to the utility. Will you be adding the ability see rip movie folders?

Would this utility be able to be automated. I mean would it be able to monitor folder and run when new files are added?

Once again thanks for all the hard work!

Tim
Reply With Quote
  #27  
Old 01-08-2009, 03:45 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I think monitoring folders is a little outside of the scope of this tool, but I'll certainly add in some options to make it easy to integrate into existing monitors like Dirmon2.
Reply With Quote
  #28  
Old 01-08-2009, 06:15 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,186
Any thought of adding support for lookups from a "local" database, like a DVD Profiler XML file (I'm thinking more for the Movie support you're working on)?
Reply With Quote
  #29  
Old 01-08-2009, 10:32 PM
leadfoot leadfoot is offline
Sage User
 
Join Date: Jan 2008
Location: Toronto, Canada
Posts: 7
This is a great utility! I've tried it on a few folders and I have discovered a few problems:

- for paths in this format:
R:\MoreTV\TV\Lost\Season 1\10 - Raised By Another.avi
N:\TV\TV\Lost\Season 4\10 - Something Nice Back Home.my

it always returns the info for the 1st episode, not the 10th episode. A similar thing happens for episode 20 as well:

N:\TV\TV\Lost\Season 2\20 - Two For The Road.avi

returns info for episode 2

- if there is a number in the title, it uses that number instead of the episode number. For example:
N:\TV\TV\Lost\Season 2\07 - The Other 48 Days.avi

it thinks this is episode 48, not episode 7

Last edited by leadfoot; 01-08-2009 at 10:38 PM.
Reply With Quote
  #30  
Old 01-09-2009, 02:28 AM
darkmar darkmar is offline
Sage User
 
Join Date: Dec 2008
Posts: 9
None of the information is appended to info files.
Each attempt saving to the file ends with error:
! Couldn't open .output for read

What am I missing?

Code:
Quote:
- Conditional List: outputFolder + Checking: outputFolder - Does custom conditional (outputFolder) exist? + False = Overall: False, leaving blank! + Processing conditional: outputFile<:>%%outputFile%%<=>%%showtitle%% - Conditional List: outputFile + Checking: outputFile - Does custom conditional (outputFile) exist? + False = Overall: False, using else: %%showtitle%% + Processing conditional: fullOutputFile<:>%%fullOutputFile%%<=>%%showtitle%% - Conditional List: fullOutputFile + Checking: fullOutputFile - Does custom conditional (fullOutputFile) exist? + True = Overall: True, using: %%fullOutputFile%% - Replacing: %%fullOutputFile%% with (D:\TV\Monk\Season 7\01 - Mr Monk Buys A House) - Replacing: %%inputFile_EXT%% with (avi) + RegEX : D:\TV\Monk\Season 7\01 - Mr Monk Buys A House.avi.properties - Outputing to file (D:\TV\Monk\Season 7\01 - Mr Monk Buys A House.avi.properties): () + Appending ! Couldn't open .output for read
Reply With Quote
  #31  
Old 01-09-2009, 02:38 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Bam!
Code:
Title		: The American President
imdb ID		: tt0112346
theMovieDB ID	: 9087
Release Date	: 17 November 1995 (USA)
Plot		: Comedy-drama about a widowed US president and a lobbyist who fall in love. It's all aboveboard, but "politics is perception" and sparks fly anyway.
Runtime		: 114 min
Rating Info	: Rated PG-13 for some strong language.
Rating		: PG-13
Actors		: Michael Douglas, Annette Bening, Martin Sheen, Michael J. Fox, Anna Deavere Smith, Samantha Mathis, Shawna Waldron, David Paymer, Anne Haney, Richard Dreyfuss, Nina Siemaszko, Wendie Malick, Beau Billingslea, Gail Strickland, Joshua Malina,
Directors	: Rob Reiner,
Writers		: Aaron Sorkin,
Full Backdrops	: http://www.themoviedb.org/image/backdrops/2438/tt0112346.jpg,
Medium Backdrop	: http://www.themoviedb.org/image/backdrops/2438/tt0112346_poster.jpg,
Thumb Backdrops	: http://www.themoviedb.org/image/backdrops/2438/tt0112346_thumb.jpg,
Full Posters	: http://www.themoviedb.org/image/posters/9585/american_president_xlg.jpg,
Medium Posters	: http://www.themoviedb.org/image/posters/9585/american_president_xlg_mid.jpg,
Thumb Posters	: http://www.themoviedb.org/image/posters/9585/american_president_xlg_thumb.jpg,
Cover Posters	: http://www.themoviedb.org/image/posters/9585/american_president_xlg_cover.jpg,
Code:
Title		: The Dark Knight
imdb ID		: tt0468569
theMovieDB ID	: 155
Release Date	: 18 July 2008 (USA)
Plot		: Batman, Gordon and Harvey Dent are forced to deal with the chaos unleashed by an anarchist mastermind known only as the Joker, as it drives each of them to their limits.
Runtime		: 152 min
Rating Info	: Rated PG-13 for intense sequences of violence and some menace.
Rating		: PG-13
Actors		: Christian Bale, Heath Ledger, Aaron Eckhart, Michael Caine, Maggie Gyllenhaal, Gary Oldman, Morgan Freeman, Monique Curnen, Ron Dean, Cillian Murphy, Chin Han, Nestor Carbonell, Eric Roberts, Ritchie Coster, Anthony Michael Hall,
Directors	: Christopher Nolan,
Writers		: Jonathan Nolan,
Full Backdrops	: http://www.themoviedb.org/image/backdrops/695/tt0468569-2.jpg, http://www.themoviedb.org/image/backdrops/830/tt0468569-7.jpg, http://www.themoviedb.org/image/backdrops/2168/tt0468569.jpg, http://www.themoviedb.org/image/backdrops/3218/tt0468569-5.jpg, http://www.themoviedb.org/image/backdrops/3413/tt0468569-6.jpg, http://www.themoviedb.org/image/backdrops/3542/tt0468569-4.jpg, http://www.themoviedb.org/image/backdrops/5237/tt0468569-3.jpg, http://www.themoviedb.org/image/backdrops/12536/Batman_-_The_Dark_Knight__XVID___2008_-fanart2.jpg, http://www.themoviedb.org/image/backdrops/12539/Batman_-_The_Dark_Knight__XVID___2008_-fanart3.jpg, http://www.themoviedb.org/image/backdrops/12542/Batman_-_The_Dark_Knight__XVID___2008_-fanart11.jpg, http://www.themoviedb.org/image/backdrops/12545/Batman_-_The_Dark_Knight__XVID___2008_-fanart12.jpg, http://www.themoviedb.org/image/backdrops/12548/Batman_-_The_Dark_Knight__XVID___2008_-fanart13.jpg, http://www.themoviedb.org/image/backdrops/12551/Batman_-_The_Dark_Knight__XVID___2008_-fanart14.jpg, http://www.themoviedb.org/image/backdrops/12554/Batman_-_The_Dark_Knight__XVID___2008_-fanart15.jpg, http://www.themoviedb.org/image/backdrops/12557/Batman_-_The_Dark_Knight__XVID___2008_-fanart16.jpg, http://www.themoviedb.org/image/backdrops/12560/Batman_-_The_Dark_Knight__XVID___2008_-fanart17.jpg, http://www.themoviedb.org/image/backdrops/12638/dark_knight_ver13_xlgfan.jpg, http://www.themoviedb.org/image/backdrops/12644/dark_knight_verfan7.jpg, http://www.themoviedb.org/image/backdrops/13205/The_Dark_Knight_1920x1080.jpg, http://www.themoviedb.org/image/backdrops/14570/dk.jpg,
Medium Backdrop	: http://www.themoviedb.org/image/backdrops/695/tt0468569-2_poster.jpg, http://www.themoviedb.org/image/backdrops/830/tt0468569-7_poster.jpg, http://www.themoviedb.org/image/backdrops/2168/tt0468569_poster.jpg, http://www.themoviedb.org/image/backdrops/3218/tt0468569-5_poster.jpg, http://www.themoviedb.org/image/backdrops/3413/tt0468569-6_poster.jpg, http://www.themoviedb.org/image/backdrops/3542/tt0468569-4_poster.jpg, http://www.themoviedb.org/image/backdrops/5237/tt0468569-3_poster.jpg, http://www.themoviedb.org/image/backdrops/12536/Batman_-_The_Dark_Knight__XVID___2008_-fanart2_poster.jpg, http://www.themoviedb.org/image/backdrops/12539/Batman_-_The_Dark_Knight__XVID___2008_-fanart3_poster.jpg, http://www.themoviedb.org/image/backdrops/12542/Batman_-_The_Dark_Knight__XVID___2008_-fanart11_poster.jpg, http://www.themoviedb.org/image/backdrops/12545/Batman_-_The_Dark_Knight__XVID___2008_-fanart12_poster.jpg, http://www.themoviedb.org/image/backdrops/12548/Batman_-_The_Dark_Knight__XVID___2008_-fanart13_poster.jpg, http://www.themoviedb.org/image/backdrops/12551/Batman_-_The_Dark_Knight__XVID___2008_-fanart14_poster.jpg, http://www.themoviedb.org/image/backdrops/12554/Batman_-_The_Dark_Knight__XVID___2008_-fanart15_poster.jpg, http://www.themoviedb.org/image/backdrops/12557/Batman_-_The_Dark_Knight__XVID___2008_-fanart16_poster.jpg, http://www.themoviedb.org/image/backdrops/12560/Batman_-_The_Dark_Knight__XVID___2008_-fanart17_poster.jpg, http://www.themoviedb.org/image/backdrops/12638/dark_knight_ver13_xlgfan_poster.jpg, http://www.themoviedb.org/image/backdrops/12644/dark_knight_verfan7_poster.jpg, http://www.themoviedb.org/image/backdrops/13205/The_Dark_Knight_1920x1080_poster.jpg, http://www.themoviedb.org/image/backdrops/14570/dk_poster.jpg,
Thumb Backdrops	: http://www.themoviedb.org/image/backdrops/695/tt0468569-2_thumb.jpg, http://www.themoviedb.org/image/backdrops/830/tt0468569-7_thumb.jpg, http://www.themoviedb.org/image/backdrops/2168/tt0468569_thumb.jpg, http://www.themoviedb.org/image/backdrops/3218/tt0468569-5_thumb.jpg, http://www.themoviedb.org/image/backdrops/3413/tt0468569-6_thumb.jpg, http://www.themoviedb.org/image/backdrops/3542/tt0468569-4_thumb.jpg, http://www.themoviedb.org/image/backdrops/5237/tt0468569-3_thumb.jpg, http://www.themoviedb.org/image/backdrops/12536/Batman_-_The_Dark_Knight__XVID___2008_-fanart2_thumb.jpg, http://www.themoviedb.org/image/backdrops/12539/Batman_-_The_Dark_Knight__XVID___2008_-fanart3_thumb.jpg, http://www.themoviedb.org/image/backdrops/12542/Batman_-_The_Dark_Knight__XVID___2008_-fanart11_thumb.jpg, http://www.themoviedb.org/image/backdrops/12545/Batman_-_The_Dark_Knight__XVID___2008_-fanart12_thumb.jpg, http://www.themoviedb.org/image/backdrops/12548/Batman_-_The_Dark_Knight__XVID___2008_-fanart13_thumb.jpg, http://www.themoviedb.org/image/backdrops/12551/Batman_-_The_Dark_Knight__XVID___2008_-fanart14_thumb.jpg, http://www.themoviedb.org/image/backdrops/12554/Batman_-_The_Dark_Knight__XVID___2008_-fanart15_thumb.jpg, http://www.themoviedb.org/image/backdrops/12557/Batman_-_The_Dark_Knight__XVID___2008_-fanart16_thumb.jpg, http://www.themoviedb.org/image/backdrops/12560/Batman_-_The_Dark_Knight__XVID___2008_-fanart17_thumb.jpg, http://www.themoviedb.org/image/backdrops/12638/dark_knight_ver13_xlgfan_thumb.jpg, http://www.themoviedb.org/image/backdrops/12644/dark_knight_verfan7_thumb.jpg, http://www.themoviedb.org/image/backdrops/13205/The_Dark_Knight_1920x1080_thumb.jpg, http://www.themoviedb.org/image/backdrops/14570/dk_thumb.jpg,
Full Posters	: http://www.themoviedb.org/image/posters/5389/Batman_-_The_Dark_Knight_-_Poster_1__2008_.jpg, http://www.themoviedb.org/image/posters/5393/Batman_-_The_Dark_Knight_-_Poster_2__2008_.jpg, http://www.themoviedb.org/image/posters/5397/Batman_-_The_Dark_Knight_-_Poster_3__2008_.jpg, http://www.themoviedb.org/image/posters/5401/Batman_-_The_Dark_Knight_-_Poster_4__2008_.jpg, http://www.themoviedb.org/image/posters/5405/Batman_-_The_Dark_Knight_-_Poster_5__2008_.jpg, http://www.themoviedb.org/image/posters/5409/Batman_-_The_Dark_Knight_-_Poster_6__2008_.jpg, http://www.themoviedb.org/image/posters/5413/Batman_-_The_Dark_Knight_-_Poster_7__2008_.jpg, http://www.themoviedb.org/image/posters/5417/Batman_-_The_Dark_Knight_-_Poster_8__2008_.jpg, http://www.themoviedb.org/image/posters/5421/Batman_-_The_Dark_Knight_-_Poster_9__2008_.jpg, http://www.themoviedb.org/image/posters/5425/Batman_-_The_Dark_Knight_-_Poster_10__2008_.jpg, http://www.themoviedb.org/image/posters/5429/Batman_-_The_Dark_Knight_-_Poster_11__2008_.jpg, http://www.themoviedb.org/image/posters/5433/Batman_-_The_Dark_Knight_-_Poster_12__2008_.jpg, http://www.themoviedb.org/image/posters/5437/Batman_-_The_Dark_Knight_-_Poster_13__2008_.jpg, http://www.themoviedb.org/image/posters/5441/Batman_-_The_Dark_Knight_-_Poster_14__2008_.jpg, http://www.themoviedb.org/image/posters/5445/Batman_-_The_Dark_Knight_-_Poster_15__2008_.jpg, http://www.themoviedb.org/image/posters/5449/Batman_-_The_Dark_Knight_-_Poster_16__2008_.jpg, http://www.themoviedb.org/image/posters/5505/Batman_-_The_Dark_Knight_-_Poster_17__2008_.jpg, http://www.themoviedb.org/image/posters/5509/Batman_-_The_Dark_Knight_-_Poster_18__2008_.jpg, http://www.themoviedb.org/image/posters/5513/Batman_-_The_Dark_Knight_-_Poster_19__2008_.jpg, http://www.themoviedb.org/image/posters/5521/Batman_-_The_Dark_Knight_-_Poster_20__2008_.jpg, http://www.themoviedb.org/image/posters/5525/Batman_-_The_Dark_Knight_-_Poster_21__2008_.jpg, http://www.themoviedb.org/image/posters/5529/Batman_-_The_Dark_Knight_-_Poster_22__2008_.jpg, http://www.themoviedb.org/image/posters/5533/Batman_-_The_Dark_Knight_-_Poster_23__2008_.jpg, http://www.themoviedb.org/image/posters/5537/Batman_-_The_Dark_Knight_-_Poster_24__2008_.jpg, http://www.themoviedb.org/image/posters/5541/Batman_-_The_Dark_Knight_-_Poster_25__2008_.jpg, http://www.themoviedb.org/image/posters/5545/Batman_-_The_Dark_Knight_-_Poster_26__2008_.jpg, http://www.themoviedb.org/image/posters/5549/Batman_-_The_Dark_Knight_-_Poster_27__2008_.jpg, http://www.themoviedb.org/image/posters/5553/Batman_-_The_Dark_Knight_-_Poster_29__2008_.jpg, http://www.themoviedb.org/image/posters/5557/Batman_-_The_Dark_Knight_-_Poster_30__2008_.jpg, http://www.themoviedb.org/image/posters/5561/Batman_-_The_Dark_Knight_-_Poster_31__2008_.jpg, http://www.themoviedb.org/image/posters/5565/Batman_-_The_Dark_Knight_-_Poster_32__2008_.jpg, http://www.themoviedb.org/image/posters/5569/Batman_-_The_Dark_Knight_-_Poster_33__2008_.jpg, http://www.themoviedb.org/image/posters/5573/Batman_-_The_Dark_Knight_-_Poster_34__2008_.jpg, http://www.themoviedb.org/image/posters/5577/Batman_-_The_Dark_Knight_-_Poster_35__2008_.jpg, http://www.themoviedb.org/image/posters/5581/Batman_-_The_Dark_Knight_-_Poster_36__2008_.jpg, http://www.themoviedb.org/image/posters/5585/Batman_-_The_Dark_Knight_-_Poster_37__2008_.jpg, http://www.themoviedb.org/image/posters/5589/Batman_-_The_Dark_Knight_-_Poster_38__2008_.jpg, http://www.themoviedb.org/image/posters/5593/Batman_-_The_Dark_Knight_-_Poster_39__2008_.jpg, http://www.themoviedb.org/image/posters/5597/Batman_-_The_Dark_Knight_-_Poster_41__2008_.jpg, http://www.themoviedb.org/image/posters/5601/Batman_-_The_Dark_Knight_-_Poster_42__2008_.jpg, http://www.themoviedb.org/image/posters/5605/Batman_-_The_Dark_Knight_-_Poster_43__2008_.jpg, http://www.themoviedb.org/image/posters/5609/Batman_-_The_Dark_Knight_-_Poster_44__2008_.jpg, http://www.themoviedb.org/image/posters/5613/Batman_-_The_Dark_Knight_-_Poster_45__2008_.jpg, http://www.themoviedb.org/image/posters/5617/Batman_-_The_Dark_Knight_-_Poster_46__2008_.jpg,
Medium Posters	: http://www.themoviedb.org/image/posters/5389/Batman_-_The_Dark_Knight_-_Poster_1__2008__mid.jpg, http://www.themoviedb.org/image/posters/5393/Batman_-_The_Dark_Knight_-_Poster_2__2008__mid.jpg, http://www.themoviedb.org/image/posters/5397/Batman_-_The_Dark_Knight_-_Poster_3__2008__mid.jpg, http://www.themoviedb.org/image/posters/5401/Batman_-_The_Dark_Knight_-_Poster_4__2008__mid.jpg, http://www.themoviedb.org/image/posters/5405/Batman_-_The_Dark_Knight_-_Poster_5__2008__mid.jpg, http://www.themoviedb.org/image/posters/5409/Batman_-_The_Dark_Knight_-_Poster_6__2008__mid.jpg, http://www.themoviedb.org/image/posters/5413/Batman_-_The_Dark_Knight_-_Poster_7__2008__mid.jpg, http://www.themoviedb.org/image/posters/5417/Batman_-_The_Dark_Knight_-_Poster_8__2008__mid.jpg, http://www.themoviedb.org/image/posters/5421/Batman_-_The_Dark_Knight_-_Poster_9__2008__mid.jpg, http://www.themoviedb.org/image/posters/5425/Batman_-_The_Dark_Knight_-_Poster_10__2008__mid.jpg, http://www.themoviedb.org/image/posters/5429/Batman_-_The_Dark_Knight_-_Poster_11__2008__mid.jpg, http://www.themoviedb.org/image/posters/5433/Batman_-_The_Dark_Knight_-_Poster_12__2008__mid.jpg, http://www.themoviedb.org/image/posters/5437/Batman_-_The_Dark_Knight_-_Poster_13__2008__mid.jpg, http://www.themoviedb.org/image/posters/5441/Batman_-_The_Dark_Knight_-_Poster_14__2008__mid.jpg, http://www.themoviedb.org/image/posters/5445/Batman_-_The_Dark_Knight_-_Poster_15__2008__mid.jpg, http://www.themoviedb.org/image/posters/5449/Batman_-_The_Dark_Knight_-_Poster_16__2008__mid.jpg, http://www.themoviedb.org/image/posters/5505/Batman_-_The_Dark_Knight_-_Poster_17__2008__mid.jpg, http://www.themoviedb.org/image/posters/5509/Batman_-_The_Dark_Knight_-_Poster_18__2008__mid.jpg, http://www.themoviedb.org/image/posters/5513/Batman_-_The_Dark_Knight_-_Poster_19__2008__mid.jpg, http://www.themoviedb.org/image/posters/5521/Batman_-_The_Dark_Knight_-_Poster_20__2008__mid.jpg, http://www.themoviedb.org/image/posters/5525/Batman_-_The_Dark_Knight_-_Poster_21__2008__mid.jpg, http://www.themoviedb.org/image/posters/5529/Batman_-_The_Dark_Knight_-_Poster_22__2008__mid.jpg, http://www.themoviedb.org/image/posters/5533/Batman_-_The_Dark_Knight_-_Poster_23__2008__mid.jpg, http://www.themoviedb.org/image/posters/5537/Batman_-_The_Dark_Knight_-_Poster_24__2008__mid.jpg, http://www.themoviedb.org/image/posters/5541/Batman_-_The_Dark_Knight_-_Poster_25__2008__mid.jpg, http://www.themoviedb.org/image/posters/5545/Batman_-_The_Dark_Knight_-_Poster_26__2008__mid.jpg, http://www.themoviedb.org/image/posters/5549/Batman_-_The_Dark_Knight_-_Poster_27__2008__mid.jpg, http://www.themoviedb.org/image/posters/5553/Batman_-_The_Dark_Knight_-_Poster_29__2008__mid.jpg, http://www.themoviedb.org/image/posters/5557/Batman_-_The_Dark_Knight_-_Poster_30__2008__mid.jpg, http://www.themoviedb.org/image/posters/5561/Batman_-_The_Dark_Knight_-_Poster_31__2008__mid.jpg, http://www.themoviedb.org/image/posters/5565/Batman_-_The_Dark_Knight_-_Poster_32__2008__mid.jpg, http://www.themoviedb.org/image/posters/5569/Batman_-_The_Dark_Knight_-_Poster_33__2008__mid.jpg, http://www.themoviedb.org/image/posters/5573/Batman_-_The_Dark_Knight_-_Poster_34__2008__mid.jpg, http://www.themoviedb.org/image/posters/5577/Batman_-_The_Dark_Knight_-_Poster_35__2008__mid.jpg, http://www.themoviedb.org/image/posters/5581/Batman_-_The_Dark_Knight_-_Poster_36__2008__mid.jpg, http://www.themoviedb.org/image/posters/5585/Batman_-_The_Dark_Knight_-_Poster_37__2008__mid.jpg, http://www.themoviedb.org/image/posters/5589/Batman_-_The_Dark_Knight_-_Poster_38__2008__mid.jpg, http://www.themoviedb.org/image/posters/5593/Batman_-_The_Dark_Knight_-_Poster_39__2008__mid.jpg, http://www.themoviedb.org/image/posters/5597/Batman_-_The_Dark_Knight_-_Poster_41__2008__mid.jpg, http://www.themoviedb.org/image/posters/5601/Batman_-_The_Dark_Knight_-_Poster_42__2008__mid.jpg, http://www.themoviedb.org/image/posters/5605/Batman_-_The_Dark_Knight_-_Poster_43__2008__mid.jpg, http://www.themoviedb.org/image/posters/5609/Batman_-_The_Dark_Knight_-_Poster_44__2008__mid.jpg, http://www.themoviedb.org/image/posters/5613/Batman_-_The_Dark_Knight_-_Poster_45__2008__mid.jpg, http://www.themoviedb.org/image/posters/5617/Batman_-_The_Dark_Knight_-_Poster_46__2008__mid.jpg,
Thumb Posters	: http://www.themoviedb.org/image/posters/5389/Batman_-_The_Dark_Knight_-_Poster_1__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5393/Batman_-_The_Dark_Knight_-_Poster_2__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5397/Batman_-_The_Dark_Knight_-_Poster_3__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5401/Batman_-_The_Dark_Knight_-_Poster_4__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5405/Batman_-_The_Dark_Knight_-_Poster_5__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5409/Batman_-_The_Dark_Knight_-_Poster_6__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5413/Batman_-_The_Dark_Knight_-_Poster_7__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5417/Batman_-_The_Dark_Knight_-_Poster_8__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5421/Batman_-_The_Dark_Knight_-_Poster_9__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5425/Batman_-_The_Dark_Knight_-_Poster_10__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5429/Batman_-_The_Dark_Knight_-_Poster_11__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5433/Batman_-_The_Dark_Knight_-_Poster_12__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5437/Batman_-_The_Dark_Knight_-_Poster_13__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5441/Batman_-_The_Dark_Knight_-_Poster_14__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5445/Batman_-_The_Dark_Knight_-_Poster_15__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5449/Batman_-_The_Dark_Knight_-_Poster_16__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5505/Batman_-_The_Dark_Knight_-_Poster_17__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5509/Batman_-_The_Dark_Knight_-_Poster_18__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5513/Batman_-_The_Dark_Knight_-_Poster_19__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5521/Batman_-_The_Dark_Knight_-_Poster_20__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5525/Batman_-_The_Dark_Knight_-_Poster_21__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5529/Batman_-_The_Dark_Knight_-_Poster_22__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5533/Batman_-_The_Dark_Knight_-_Poster_23__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5537/Batman_-_The_Dark_Knight_-_Poster_24__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5541/Batman_-_The_Dark_Knight_-_Poster_25__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5545/Batman_-_The_Dark_Knight_-_Poster_26__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5549/Batman_-_The_Dark_Knight_-_Poster_27__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5553/Batman_-_The_Dark_Knight_-_Poster_29__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5557/Batman_-_The_Dark_Knight_-_Poster_30__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5561/Batman_-_The_Dark_Knight_-_Poster_31__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5565/Batman_-_The_Dark_Knight_-_Poster_32__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5569/Batman_-_The_Dark_Knight_-_Poster_33__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5573/Batman_-_The_Dark_Knight_-_Poster_34__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5577/Batman_-_The_Dark_Knight_-_Poster_35__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5581/Batman_-_The_Dark_Knight_-_Poster_36__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5585/Batman_-_The_Dark_Knight_-_Poster_37__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5589/Batman_-_The_Dark_Knight_-_Poster_38__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5593/Batman_-_The_Dark_Knight_-_Poster_39__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5597/Batman_-_The_Dark_Knight_-_Poster_41__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5601/Batman_-_The_Dark_Knight_-_Poster_42__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5605/Batman_-_The_Dark_Knight_-_Poster_43__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5609/Batman_-_The_Dark_Knight_-_Poster_44__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5613/Batman_-_The_Dark_Knight_-_Poster_45__2008__thumb.jpg, http://www.themoviedb.org/image/posters/5617/Batman_-_The_Dark_Knight_-_Poster_46__2008__thumb.jpg,
Cover Posters	: http://www.themoviedb.org/image/posters/5389/Batman_-_The_Dark_Knight_-_Poster_1__2008__cover.jpg, http://www.themoviedb.org/image/posters/5393/Batman_-_The_Dark_Knight_-_Poster_2__2008__cover.jpg, http://www.themoviedb.org/image/posters/5397/Batman_-_The_Dark_Knight_-_Poster_3__2008__cover.jpg, http://www.themoviedb.org/image/posters/5401/Batman_-_The_Dark_Knight_-_Poster_4__2008__cover.jpg, http://www.themoviedb.org/image/posters/5405/Batman_-_The_Dark_Knight_-_Poster_5__2008__cover.jpg, http://www.themoviedb.org/image/posters/5409/Batman_-_The_Dark_Knight_-_Poster_6__2008__cover.jpg, http://www.themoviedb.org/image/posters/5413/Batman_-_The_Dark_Knight_-_Poster_7__2008__cover.jpg, http://www.themoviedb.org/image/posters/5417/Batman_-_The_Dark_Knight_-_Poster_8__2008__cover.jpg, http://www.themoviedb.org/image/posters/5421/Batman_-_The_Dark_Knight_-_Poster_9__2008__cover.jpg, http://www.themoviedb.org/image/posters/5425/Batman_-_The_Dark_Knight_-_Poster_10__2008__cover.jpg, http://www.themoviedb.org/image/posters/5429/Batman_-_The_Dark_Knight_-_Poster_11__2008__cover.jpg, http://www.themoviedb.org/image/posters/5433/Batman_-_The_Dark_Knight_-_Poster_12__2008__cover.jpg, http://www.themoviedb.org/image/posters/5437/Batman_-_The_Dark_Knight_-_Poster_13__2008__cover.jpg, http://www.themoviedb.org/image/posters/5441/Batman_-_The_Dark_Knight_-_Poster_14__2008__cover.jpg, http://www.themoviedb.org/image/posters/5445/Batman_-_The_Dark_Knight_-_Poster_15__2008__cover.jpg, http://www.themoviedb.org/image/posters/5449/Batman_-_The_Dark_Knight_-_Poster_16__2008__cover.jpg, http://www.themoviedb.org/image/posters/5505/Batman_-_The_Dark_Knight_-_Poster_17__2008__cover.jpg, http://www.themoviedb.org/image/posters/5509/Batman_-_The_Dark_Knight_-_Poster_18__2008__cover.jpg, http://www.themoviedb.org/image/posters/5513/Batman_-_The_Dark_Knight_-_Poster_19__2008__cover.jpg, http://www.themoviedb.org/image/posters/5521/Batman_-_The_Dark_Knight_-_Poster_20__2008__cover.jpg, http://www.themoviedb.org/image/posters/5525/Batman_-_The_Dark_Knight_-_Poster_21__2008__cover.jpg, http://www.themoviedb.org/image/posters/5529/Batman_-_The_Dark_Knight_-_Poster_22__2008__cover.jpg, http://www.themoviedb.org/image/posters/5533/Batman_-_The_Dark_Knight_-_Poster_23__2008__cover.jpg, http://www.themoviedb.org/image/posters/5537/Batman_-_The_Dark_Knight_-_Poster_24__2008__cover.jpg, http://www.themoviedb.org/image/posters/5541/Batman_-_The_Dark_Knight_-_Poster_25__2008__cover.jpg, http://www.themoviedb.org/image/posters/5545/Batman_-_The_Dark_Knight_-_Poster_26__2008__cover.jpg, http://www.themoviedb.org/image/posters/5549/Batman_-_The_Dark_Knight_-_Poster_27__2008__cover.jpg, http://www.themoviedb.org/image/posters/5553/Batman_-_The_Dark_Knight_-_Poster_29__2008__cover.jpg, http://www.themoviedb.org/image/posters/5557/Batman_-_The_Dark_Knight_-_Poster_30__2008__cover.jpg, http://www.themoviedb.org/image/posters/5561/Batman_-_The_Dark_Knight_-_Poster_31__2008__cover.jpg, http://www.themoviedb.org/image/posters/5565/Batman_-_The_Dark_Knight_-_Poster_32__2008__cover.jpg, http://www.themoviedb.org/image/posters/5569/Batman_-_The_Dark_Knight_-_Poster_33__2008__cover.jpg, http://www.themoviedb.org/image/posters/5573/Batman_-_The_Dark_Knight_-_Poster_34__2008__cover.jpg, http://www.themoviedb.org/image/posters/5577/Batman_-_The_Dark_Knight_-_Poster_35__2008__cover.jpg, http://www.themoviedb.org/image/posters/5581/Batman_-_The_Dark_Knight_-_Poster_36__2008__cover.jpg, http://www.themoviedb.org/image/posters/5585/Batman_-_The_Dark_Knight_-_Poster_37__2008__cover.jpg, http://www.themoviedb.org/image/posters/5589/Batman_-_The_Dark_Knight_-_Poster_38__2008__cover.jpg, http://www.themoviedb.org/image/posters/5593/Batman_-_The_Dark_Knight_-_Poster_39__2008__cover.jpg, http://www.themoviedb.org/image/posters/5597/Batman_-_The_Dark_Knight_-_Poster_41__2008__cover.jpg, http://www.themoviedb.org/image/posters/5601/Batman_-_The_Dark_Knight_-_Poster_42__2008__cover.jpg, http://www.themoviedb.org/image/posters/5605/Batman_-_The_Dark_Knight_-_Poster_43__2008__cover.jpg, http://www.themoviedb.org/image/posters/5609/Batman_-_The_Dark_Knight_-_Poster_44__2008__cover.jpg, http://www.themoviedb.org/image/posters/5613/Batman_-_The_Dark_Knight_-_Poster_45__2008__cover.jpg, http://www.themoviedb.org/image/posters/5617/Batman_-_The_Dark_Knight_-_Poster_46__2008__cover.jpg,
That was *way* harder than I expected, IMDB is a monstrosity of a website. I just need to clean up a few things, hopefully I'll do another release this weekend.
Reply With Quote
  #32  
Old 01-09-2009, 02:49 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by darkmar View Post
What am I missing?
Not sure, i'll need to see the whole log file. Just rename it to scrape.txt and post it here. Just a guess though, it looks like some of your scraping profiles are missing. Try downloading/unzipping again.

Quote:
Originally Posted by leadfoot View Post
I've tried it on a few folders and I have discovered a few problems:
Thanks, I can duplicate those so i'll get them fixed.

Last edited by evilpenguin; 01-09-2009 at 02:58 AM.
Reply With Quote
  #33  
Old 01-09-2009, 02:54 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by stanger89 View Post
Any thought of adding support for lookups from a "local" database, like a DVD Profiler XML file (I'm thinking more for the Movie support you're working on)?
It's prolly doable, i'll put it on the maybe list.
Reply With Quote
  #34  
Old 01-09-2009, 05:06 AM
mickp's Avatar
mickp mickp is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 468
Quote:
Originally Posted by stanger89 View Post
Any thought of adding support for lookups from a "local" database, like a DVD Profiler XML file (I'm thinking more for the Movie support you're working on)?
I was thinking that it would be good to write TO the dvd profiler xml file. This would probably make it very easy to update SageMC. At the moment there's lots of nice metadata against my files but they're still labeled like foo.xvid.meh.show.s3.e5.woot.pwn.l337.avi

Mick.
Reply With Quote
  #35  
Old 01-09-2009, 07:29 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,186
This scraper should work in SageMC as well, since the data get's importined into the wiz.bin, and that's where SageMC reads it from (SageMC just offers other options for putting data into the wiz.bin).
Reply With Quote
  #36  
Old 01-09-2009, 10:12 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
I've been trying to get this tool to work for the past few days but it just doesnt seem to do anything for me Its proberly something I'm doing wrong but I can't work out what as it seems like a pretty straight forward tool to use.

I have a folder on my desktop that has the mediaScraper.exe (picture of a camel on it) and another folder called scrapingProfiles withn the same folder. The scrapingProfiles folder has 10 files inside.

I have created a folder on my desktop that has episodes of Stargate atlantis inside and are named the same as previous examples in this thread as well as the original file names. The folder structure goes like TV\Stargate Atlantis\Season 5\.

So I've tried dragging the whole folder onto the exe as well as individual media files but nothing happens apart from a scraper.log file apprearing in the scraper folder. I've attached the scraper log file just in case you want to see it.

Any ideas on what I'm doing wrong?

Regards

Ben
Attached Files
File Type: txt scraper.txt (4.4 KB, 270 views)
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #37  
Old 01-09-2009, 12:02 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by jaminben View Post
Any ideas on what I'm doing wrong?

Regards

Ben
No, your definitely not doing anything wrong. As long as the mediaScraper.exe is in the same folder as the scrapingProfiles folder then it should work. I'm starting to think that one of the sourceforge servers is giving out a bad zip file where some of the files are corrupted.

I updated the download, delete everything you have and try the new one.
Reply With Quote
  #38  
Old 01-09-2009, 12:12 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Quote:
Originally Posted by evilpenguin View Post
No, your definitely not doing anything wrong. As long as the mediaScraper.exe is in the same folder as the scrapingProfiles folder then it should work. I'm starting to think that one of the sourceforge servers is giving out a bad zip file where some of the files are corrupted.

I updated the download, delete everything you have and try the new one.
Just tried downloading again and I still have errors with the zip file. I've also tried using 7zip and although it extracts fine when I try and drag a file onto the exe windows comes up with the error "mediascraper is not a valid Win32 apllication".
If I download from the pearl link then the exe appears to work ok but it doesnt give me any data for the shows.
I would think its me doing something wrong as everyone else seems to have it working ok, I just can't think whats stopping mine from working.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #39  
Old 01-09-2009, 12:16 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Try it one more time, I changed the download again because the the official download page keeps giving out an old one. Here's what it shows when I test the zip with 7zip...

Reply With Quote
  #40  
Old 01-09-2009, 12:26 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Downloaded again trying both links and its exactly the same as before. I assume its ok to try both links? The one in the first post and the one in post No.7, "Download with a ton of fixes".

I've also tested the file with 7zip and attached the results below.
Attached Images
File Type: jpg 7zipDiag.jpg (138.0 KB, 233 views)
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
Reply

Tags
fanart, imdb, metadata, themoviedb, thetvdb


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

Advanced Search
Display Modes

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
STV Import: Read & Write Metadata files for Default STV 5/6 (v2.2.9 18/Feb./2010) JREkiwi SageTV Customizations 251 10-09-2019 11:11 AM
Utility: Batch Metadata Importer 3.x stuckless Batch Metadata Tools 2416 09-20-2011 08:03 PM
manually edit video metadata loomdog32 SageMC Custom Interface 8 01-04-2009 12:34 AM
Runningtime not populated in Metadata mycorona SageMC Custom Interface 2 11-30-2008 01:08 PM
Keeping custom metadata for imports via AddShow() Opus4 SageTV Studio 9 02-20-2008 06:35 PM


All times are GMT -6. The time now is 03:24 AM.


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