PDA

View Full Version : Film Trailer Feed.


Nick_W
07-31-2009, 04:24 AM
Hi,

I've written a scraper so I can download all the trailers from Apple/Yahoo etc.

I was thinking that I can easily adjust this to create a text/csv file of the film names and file URLs.

May be one of you is interested in creating an RSS feed from it (perhaps using Yahoo Pipes or some such) so people can have access via the Online Videos section, without having to download all the files?

If you are interested let me know and I'll PM you the address of a sample file to play with.

Regards,

Nick.

PLUCKYHD
07-31-2009, 05:22 AM
I might be interested in this I stress might because it is coming down to time these days. I have been wanting to implement trailer support for smw but not sure how I want to go about it (stream vs local)

Nick_W
07-31-2009, 05:25 AM
I might be interested in this I stress might because it is coming down to time these days. I have been wanting to implement trailer support for smw but not sure how I want to go about it (stream vs local)

Let me know when you have the time :)

PLUCKYHD
07-31-2009, 07:28 AM
What nameing format does the program you have existing save the trailers in? Is there a quality setting?

Nick_W
07-31-2009, 07:53 AM
What nameing format does the program you have existing save the trailers in? Is there a quality setting?

It saves them as the movie name e.g.

Saving Private Ryan.mov

It has 720P atm, but 480 and 1080 are easy enough to add. I don't do (and won't be doing) SD.

Regards,

Nick.

PLUCKYHD
07-31-2009, 07:58 AM
It saves them as the movie name e.g.

Saving Private Ryan.mov

It has 720P atm, but 480 and 1080 are easy enough to add. I don't do (and won't be doing) SD.

Regards,

Nick.

Does it save them all in the same folder?

Nick_W
07-31-2009, 08:08 AM
Does it save them all in the same folder?

Yes.

PLUCKYHD
07-31-2009, 08:15 AM
Yes.

Ok you peeked my interest I may be able to make add on to my movie wall to give this thing a interface. Hit me up in PM.

Nick_W
07-31-2009, 08:18 AM
Ok you peeked my interest I may be able to make add on to my movie wall to give this thing a interface. Hit me up in PM.

I'm not sure what you mean. The only bit I am offering is the resultant csv file. That will just point at the mov file on Apple's servers.

Is that what you are after?

Regards,

Nick.

PLUCKYHD
07-31-2009, 08:24 AM
I'm not sure what you mean. The only bit I am offering is the resultant csv file. That will just point at the mov file on Apple's servers.

Is that what you are after?

Regards,

Nick.

yes.

dbone1026
07-31-2009, 08:50 AM
Hmm, can't add attachment in PM so here is a sample file.

Maybe you could separate out Yahoo from Apple to avoid duplicates

Nick_W
07-31-2009, 09:11 AM
Maybe you could separate out Yahoo from Apple to avoid duplicates

There are no duplicates. That's already done.

Regards,

Nick.

Skirge01
07-31-2009, 09:42 AM
This has me very excited. A select few have been looking for a way to pull down all the trailers for a while now. I'm curious about whether any consideration has been/was given to the Movie Trailers add-in. It would be great if this could utilize the same location for storing the files (my preference over streaming since I like the HD trailers), since it would eliminate the trailers being downloaded twice. In fact, using some more of the settings (such as trailer quality, posters, etc.) from that add-in might be very beneficial.

You guys are awesome!

Nick_W
07-31-2009, 09:50 AM
This has me very excited. A select few have been looking for a way to pull down all the trailers for a while now. I'm curious about whether any consideration has been/was given to the Movie Trailers add-in. It would be great if this could utilize the same location for storing the files (my preference over streaming since I like the HD trailers), since it would eliminate the trailers being downloaded twice. In fact, using some more of the settings (such as trailer quality, posters, etc.) from that add-in might be very beneficial.

You guys are awesome!

Posters etc. can be taken care of by BMT. I don't use them, but that's an option at your end. I tried it and it works fine :)

Just save them to a folder that Sage imports from. I have a separate trailer folder and menu item.

Regards,

Nick.

dbone1026
07-31-2009, 10:06 AM
Ideally I would want to see trailers handles 2 ways. First way would be ability to play back local trailers for movies already stored (i.e save trailer in same folder as movie). I use this app (http://thegreenbutton.com/forums/p/70947/345835.aspx#345835) to automatically download and store my local trailers. When you go to that movie in SageTV there will be some sort of Icon you can select to play the trailer. Second way would be an interface to play back streaming trailers. I don't know how the metadata is gathered for this but XBMC/Boxee and MediaBrowser to name a few have been able to implement.

Above and beyond this would be an app that would randomly choose a few trailers (streaming and/or local) and play back when you select a movie to play, give you the movie theatre experience.

PLUCKYHD
07-31-2009, 10:12 AM
Ideally I would want to see trailers handles 2 ways. First way would be ability to play back local trailers for movies already stored (i.e save trailer in same folder as movie). I use this app (http://thegreenbutton.com/forums/p/70947/345835.aspx#345835) to automatically download and store my local trailers. When you go to that movie in SageTV there will be some sort of Icon you can select to play the trailer. Second way would be an interface to play back streaming trailers. I don't know how the metadata is gathered for this but XBMC/Boxee and MediaBrowser to name a few have been able to implement.

Above and beyond this would be an app that would randomly choose a few trailers (streaming and/or local) and play back when you select a movie to play, give you the movie theatre experience.

Okay guys don't get going to excited yet :) it really is all up to me or other stvi developers on how they want to implement this into their add-in and will still require allot of coding to implement fully.

No for movie wall my preference would be trailers only stored locally as I don't want to wait for one to have to stream from the internet. Or also support the way Dbone is talking about sense that app already exist it would be easy to just take those trailers out of the grouping method and add some code to make like "pause" play the trailers.

but I also like the idea of having them all in one folder so I will have to think on this one.

And yes that was my thought as well I have a "now playing" add in that is in the works but it is a little different from the one already out.

dbone1026
07-31-2009, 10:24 AM
Okay guys don't get going to excited yet :) it really is all up to me or other stvi developers on how they want to implement this into their add-in and will still require allot of coding to implement fully.

No for movie wall my preference would be trailers only stored locally as I don't want to wait for one to have to stream from the internet. Or also support the way Dbone is talking about sense that app already exist it would be easy to just take those trailers out of the grouping method and add some code to make like "pause" play the trailers.

but I also like the idea of having them all in one folder so I will have to think on this one.

And yes that was my thought as well I have a "now playing" add in that is in the works but it is a little different from the one already out.

Tough not to get excited, itching to ditch some of the other programs I use :D

Skirge01
07-31-2009, 10:49 AM
We're patient, just excited. We know this is a ways off due to your other projects, but figured we'd throw some ideas out there for you to chew on. I love the "now playing" idea, as well.

pjpjpjpj
07-31-2009, 01:34 PM
This might be a stupid post, but just making sure that everyone posting in this thread is aware of the trailer downloads feature already existing in the MovieTimes plug-in...

It's currently set up to download trailers for all the currently-showing movies at the theaters that you configure (your local theaters), and delete them when they are no longer showing. You can select the quality (480, 720, 1080) that you want. They download when the MovieTimes update runs, and those that you already have are not downloaded again.

Rather than bothering to go through the MovieTimes plug-in to find the trailers, I used dynamic custom menus to make a separate menu item called "Current movie trailers" that takes me straight to the trailers folder. The only "issue" with this method is that it just sees them as video files, and therefore I have to hit "Refresh media" once a week or so, to keep them up to date.

I have always thought - and I think I once suggested it in that thread - that it would be cool to have a search function - where either you could pick movies from a checklist of available, or else just type in names, and it would download the trailers if available. Even if you would compile your "wish list" and it wouldn't get them until the next scheduled download time from MovieTimes (mine is at 3 am), it would still be a cool feature, IMO.

sbherculano
07-31-2009, 01:59 PM
Hey Guys,

Have a look below, I am using this approach for trailers in the Online Videos, maybe we can improve it integrating with SMW for instance.

Regards

Sérgio

I include a movie trailer podcast in my Online video and it is working fine. The name of the podcast is uk.podcast.filmtrailer.com

See bellow:

in CustomOnlineVideoUIText.properties I included the following lines
#
Category/Trailers/ThumbURL=http://blogs.voices.com/voxdaily/movie-trailer-voice-overs.jpg
Category/Trailers/LongName=Movie Trailers
Category/Trailers/ShortName=Movie Trailers
#

in CustomOnlineVideoLinks.properties
#
# Movie Trailer
#
xFeedPodcastCustom/Trailers=xPodcastCustom;http://uk.podcast.filmtrailer.com/default/Latest300CinemaCreated/?channel_user_id=441100131-1


I hope that you enjoy this.

Regards

Skirge01
07-31-2009, 02:07 PM
I know I am. I use it all the time. What we're looking forward to is the ability to watch ALL trailers that Apple (and apparently Yahoo) have available, far in advance of them being in the theaters.

There have been a number of movies I never would have seen had I not done my every-so-often-because-it's-a-pain-to-do-manually stint of downloading a ton of random trailers from Apple, then sitting down with the wife to watch them.

dbone1026
07-31-2009, 06:39 PM
I know I am. I use it all the time. What we're looking forward to is the ability to watch ALL trailers that Apple (and apparently Yahoo) have available, far in advance of them being in the theaters.

There have been a number of movies I never would have seen had I not done my every-so-often-because-it's-a-pain-to-do-manually stint of downloading a ton of random trailers from Apple, then sitting down with the wife to watch them.

Agreed as well. I like downloading trailers for movies I already own (an dbeing able to play them from that specific movie interface), but I don't want to have to download for any other trailers, I just want to be able to pull up the stream to watch. I end up having to open XBMC, Boxee, or MediaBrowser for this since they can stream all Apple/Yahoo trailers with a nice UI. Load time is generally no more then a few seconds, even for 1080p content. Unfortuanetly I haven't had much time of late to sit down and watch an entire movie, so I get my fix watching the latest trailers. I assume this is what Nick_W had in mind since he mentioned creating RSS feeds.

pjpjpjpj
07-31-2009, 07:23 PM
Load time is generally no more then a few seconds, even for 1080p content.
Dang, what kind of connection do you have? The 1080p trailers I get are typically in the 120-150 Mb range.

Nick_W
08-01-2009, 12:41 AM
Guys,

If you just want to download all the trailers for all movies that's the bit I have written. That's what I do.

It can select whatever HD quailty you want, and whatever age of trailer you want (or all trailers), and it can clean up old trailers.

It saves them to a folder on the local server. You just need PHP and a web server installed locally. It works with BMT if you want it to, so you have all the metadata.

Sage scans the folder and all the trailers are there ready when you want them.

Regards,

Nick.

dbone1026
08-01-2009, 04:27 AM
Dang, what kind of connection do you have? The 1080p trailers I get are typically in the 120-150 Mb range.

Sorry, I meant if I am playing 1080p trailers streaming directly (not downloaded), there was very little buffer time. Probably takes me close to a minute to actually download a 1080p trailer (same size as yours, approx 100mb+). I think with my ISP I get around 30MB down / 5MB up speed.

gplasky
08-01-2009, 06:42 AM
Guys,

If you just want to download all the trailers for all movies that's the bit I have written. That's what I do.

It can select whatever HD quailty you want, and whatever age of trailer you want (or all trailers), and it can clean up old trailers.

It saves them to a folder on the local server. You just need PHP and a web server installed locally. It works with BMT if you want it to, so you have all the metadata.

Sage scans the folder and all the trailers are there ready when you want them.

Regards,

Nick.
Yes. I would like to download your app. Can you post a link? Or a PM would be fine.

Gerry

Nick_W
08-01-2009, 07:48 AM
Yes. I would like to download your app. Can you post a link? Or a PM would be fine.

Gerry

No problem, just give me 'til Monday to sort out a bit more testing and then I'll post it :)

Regards,

Nick.

gplasky
08-01-2009, 08:33 AM
No problem, just give me 'til Monday to sort out a bit more testing and then I'll post it :)

Regards,

Nick.

:thumb:

Gerry

SteveW
09-05-2009, 04:46 PM
No problem, just give me 'til Monday to sort out a bit more testing and then I'll post it :)

Regards,

Nick.

Did this ever get posted? :confused:

Ikarius
09-08-2009, 12:30 PM
This is pretty interesting :)

I think it would be better if it "scraped" metadata for the available trailers- including things like release date, but did not download the trailers immediately- but downloaded the actual trailers "on demand". I'm currently pretty busy working on some things, but this might be something to dig into.

Being able to look through movies which are coming soon, and pick a trailer and view it would be uber-cool, and I've had that idea floating around in my head for a while now.

Cheers
Ikarius