home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Submit: Movie Info Grabbers
The Movie Database... first script, first trouble
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Wbunaarf" data-source="post: 993585" data-attributes="member: 17027"><p>I just did a Quick test.</p><p> </p><p>[code] public const bool API_IMDB_LOOKUP = true; //IMDB LookUp</p><p> public const string API_KEY = "..."; //Inset API Key</p><p> public const string API_LANG = "sv"; //Change it to change Language[/CODE]</p><p> </p><p>On my first run I got no hits. The title passed to the script is on the form tt1234567 which the regexp didn't seem to catch. Since I don't really speak regexpish and didn't fully understand what you where doing I simplified it to</p><p> </p><p>[CODE]System.Text.RegularExpressions.Regex rx = new System.Text.RegularExpressions.Regex(@"tt(?<jocker>\d*)");[/CODE]</p><p> </p><p>Using this modified regexp I tested on a subset of my movies and it seems to work just fine. I'm currently doing a full scan which should be complete in the morning.</p><p> </p><p>//W</p></blockquote><p></p>
[QUOTE="Wbunaarf, post: 993585, member: 17027"] I just did a Quick test. [code] public const bool API_IMDB_LOOKUP = true; //IMDB LookUp public const string API_KEY = "..."; //Inset API Key public const string API_LANG = "sv"; //Change it to change Language[/CODE] On my first run I got no hits. The title passed to the script is on the form tt1234567 which the regexp didn't seem to catch. Since I don't really speak regexpish and didn't fully understand what you where doing I simplified it to [CODE]System.Text.RegularExpressions.Regex rx = new System.Text.RegularExpressions.Regex(@"tt(?<jocker>\d*)");[/CODE] Using this modified regexp I tested on a subset of my movies and it seems to work just fine. I'm currently doing a full scan which should be complete in the morning. //W [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: Movie Info Grabbers
The Movie Database... first script, first trouble
Contact us
RSS
Top
Bottom