Apple Movie Trailer Database Import Utility

Xlobby plugin development

Should I make a real plugin version of the import utility?

No - The command line version works great
1
4%
Yes - I want it integrated into Xlobby completely
22
81%
Both - You should make both versions
4
15%
 
Total votes : 27

Postby Mjolnir on Tue Sep 28, 2004 4:46 pm

uhm, if you've this kind of message, you've haven't provide a link on script command line...

If you run the script (without any options on its command line), you'll have this error message.

If you run the script (open a command line box : Windows Start Menu/Run, then "cmd.exe"), with an Apple Trailer link like :
Code: Select all
Apple_Trailer_DL.vbs  <http://~apple trailer link~>
this should work.

Let's try...
Go to script directory (if you're not in yet)
Code: Select all
cd "C:\Program Files\XlobbyFr\applications\Apple Movie Trailers\"
(change this directory according to yours)
Then run script with command line option like :
eg. :
Code: Select all
Apple_Trailer_DL.vbs  http://movies.apple.com/movies/mgm/wicker_park/wicker_park_480.mov
(put all on same line)

- A popup shoud raise for 10 sec max. and close : "D/L begins... wait..."
- After download, a sound message "telechargement termine" will shout :o ...

--------------------------------------------------------------------------------8<--------------------------------------------------------------------------------

Please D/L this script version : Apple_Trailer_DL.vbs
Same script version, but English messages :wink:
Do not forget to change directories... (Mouse left button/Modify).

--------------------------------------------------------------------------------8<--------------------------------------------------------------------------------
Last edited by Mjolnir on Tue Sep 28, 2004 5:29 pm, edited 1 time in total.
Mjolnir
 
Posts: 2
Joined: Tue Sep 28, 2004 8:01 am

Postby dgemily on Tue Sep 28, 2004 5:27 pm

to execute the vbscript via xlobby

Create an event os/execute file:

- File:
Code: Select all
C:\Program Files\XlobbyFr\applications\Apple Movie Trailers\Apple_Trailer_DL.vbs


- Arguments:
Code: Select all
"%trailers>parameter%"

where trailers is the name of your category

and, especially, don't forget the
Code: Select all
"
if you don't put it , you will have this error message...

anyway, you can take a look on maTV skin, to see how are the events:

the skin:http://france.xlobby.com/forum/dgemily/Clones/maTV45.rar

look the event group:"apple movie trailers"

later
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby arkania on Wed Sep 29, 2004 4:16 pm

Thanks Guys, I'll give that a try!

Gary.
arkania
 
Posts: 43
Joined: Fri May 23, 2003 4:14 pm
Location: Orangeville, Ontario, Canada

Postby QTips on Sun Oct 03, 2004 9:59 am

This plugin is awesome :)

I make a screen for it now but I cant' make a search for movietitle..only genre and actors.
Would it be possibel to get the importer to create a name field in the xml database for easier searching ?
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

Postby dgemily on Sun Oct 03, 2004 1:09 pm

I did it also. and I can search on movietitles. you don't have to use filter to display by movietitles (the title are in "display") so you can use an event "set database" to display by movietitles, something like
category name :"filterdetails"
database name :"trailers".

later
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby QTips on Mon Oct 04, 2004 6:34 pm

dgemily wrote:I did it also. and I can search on movietitles. you don't have to use filter to display by movietitles (the title are in "display") so you can use an event "set database" to display by movietitles, something like
category name :"filterdetails"
database name :"trailers".

later


That did the trick :)

Thanks for the help
QTips
 
Posts: 158
Joined: Tue Dec 16, 2003 6:53 pm
Location: Norway

Postby dandiodati on Sat Apr 02, 2005 8:13 am

bradsjm, any chance of modifying your application to also download each movie instead of just having a link to the online resource? It would be great if there was some download flag so that we could have a choice of downloading or referencing online urls.
dandiodati
 
Posts: 17
Joined: Tue Mar 15, 2005 7:03 am

Postby dgemily on Sat Apr 02, 2005 9:05 am

dandiodati wrote:bradsjm, any chance of modifying your application to also download each movie instead of just having a link to the online resource? It would be great if there was some download flag so that we could have a choice of downloading or referencing online urls.


Did you see this post ?: http://www.xlobby.com/forum/viewtopic.php?p=12557#12557

later
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby dandiodati on Sat Apr 02, 2005 6:02 pm

dgemily wrote:Did you see this post ?: http://www.xlobby.com/forum/viewtopic.php?p=12557#12557


I did see this post, but this vbs script requires to pass the name of the movie file. Instead of downloading just the movie that is going to be played I want to set it up so that all the movies found are downloaded at some set time. Then I want to setup zoomplayer so that it will play some random trailers.
dandiodati
 
Posts: 17
Joined: Tue Mar 15, 2005 7:03 am

Postby lar282 on Sat Apr 02, 2005 8:34 pm

dandiodati wrote:
dgemily wrote:Did you see this post ?: http://www.xlobby.com/forum/viewtopic.php?p=12557#12557


I did see this post, but this vbs script requires to pass the name of the movie file. Instead of downloading just the movie that is going to be played I want to set it up so that all the movies found are downloaded at some set time. Then I want to setup zoomplayer so that it will play some random trailers.


I wanted the download ALL too and tried to open the source code to change so it sownload instead of writing to xlobbys DB. I wish I knew how to add the 3 files to a VB .NET solution and compile it but I fail. Maybe the authour of the plugin can tell me how?


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby glamdring on Tue May 17, 2005 2:27 am

I'm getting the following message and can't seem to figure it out.

Script c:\xlobby\applications\apple_trailer_dl.vbs
Line 134
Char 1
Error Path not found
Code 800A004C

As best I can figure this happens after the download and at the point my trailers.xml file should be being written to. Any advice?
glamdring
 
Posts: 34
Joined: Tue Sep 07, 2004 2:55 pm
Location: Texas

Postby dgemily on Tue May 17, 2005 7:54 am

make sure that you have change all paths to your configuration in the vbs...
One thing is strange, because I edited the vbs and there is a blank line for the line 134....

Later,
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby dgemily on Fri Oct 07, 2005 1:13 pm

the tool seems to not working since a few days, maybe apple change the
structure of the web site.... for every movies we have an error :"unable to
process trailer: the remote server returned an error (4004) not found"

I sent a mail to bradsjm

So wait and see…
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby ingalls on Fri Oct 07, 2005 8:04 pm

same to me!!
please brad, come back!!!
ingalls
 
Posts: 193
Joined: Wed May 12, 2004 7:46 pm

Postby mzemina on Fri Oct 28, 2005 6:43 pm

Brad - We need you! Please return!
mzemina
 
Posts: 53
Joined: Tue Jul 05, 2005 9:00 pm

PreviousNext