INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: c1c9k72 on August 15, 2006, 01:09:31 pm
-
I see that you can enter a webpage into the Program Path, and it brings up the page in my browser. Is it possible, using the Parameter entry, to pull up different sites. Such as: I have an IMDB number field for my movies, and would like to use that to pull the appropriate page.
I've tried doing this: http://us.imdb.com/title/tt[IMDB]
But it doesn't work. Can I enter the variable somewhere else, or am I trying to do something that isn't possible under MC11 ?
-
Try visiting the page you want, and take a look at the URL in the address box.
-
Try visiting the page you want, and take a look at the URL in the address box.
I've got the URL I need to use. What I need to know is whether or not I can use field variables (other than [Filename]) in the Program Path to go to different websites.
-
I see that you can enter a webpage into the Program Path, and it brings up the page in my browser. Is it possible, using the Parameter entry, to pull up different sites. Such as: I have an IMDB number field for my movies, and would like to use that to pull the appropriate page.
I've tried doing this: http://us.imdb.com/title/tt[IMDB]
But it doesn't work. Can I enter the variable somewhere else, or am I trying to do something that isn't possible under MC11 ?
If the only thing that changes is the number, you could get MC to build the link for each file.
You would do this by creating a new, calculated library field. Assuming you know where to go, and just need the template... :
if(isempty([IMDB]),N//A,http://us.imdb.com/title/tt[IMDB])
That will put N/A in the field for all files without an IMDB number, and the url for those that have one.
I'm not sure of the best way to go about using the info once you have it, but still, perhaps that's enough to get you rolling?
-
Marko,
Thanks for the assist. I built the template, like you said, though it needed some slight tweaking.
if(isempty([IMDB]),N//A,http:////us.imdb.com//title//tt[IMDB])
However, when I put it in the Parameter field, with nothing in the Program Path, it opens my Explorer.
When I put it in my Program Path, with nothing in the Parameter field, I get a window that says "File [IMDB Link] not found."
And, when I put [IMDB Link] in both Program Path and Parameter, the same thing happens as above.
Finally, I tried giving it my Firefox.exe as the Program Path, and [IMDB Link] as the parameter, and for some reason, it opened two windows and searched Yahoo.
Any suggestions on how to proceed from here ?