Unfortunately Plex Media Server doesn't scrape or store the YouTube trailer location in the library, so PlexConnect has no way to know or access the youtube trailer location. Plus I've got to ask exactly what use is this feature? If you have the movie in your library then watch the movie, not the trailer :)
I consider the movie previews a critical feature in any movie-centric media center but I've learned to live without it… but what other options do we have..?? XMBC is going away from the Mac environment soon and is not as good as Plex in any other aspect, Apple TV is nice but too close of a system that won't let you add your personal media. We are yet to see what Samsung is going to do with Boxee now that they got it... For now Plex is the king ( minus the trailer feature :|
Are trailers really the best way to select a movie? They usually either misrepresent the film or reveal more than you need to know to really enjoy the film. They are either more advertisement than information or more information than you really want to have. And if you must see the trailer there are a myriad of ways to do so. Just my two-bits.
Are trailers really the best way to select a movie? They usually either misrepresent the film or reveal more than you need to know to really enjoy the film. They are either more advertisement than information or more information than you really want to have. And if you really want to see the trailer there are a myriad of ways to do so. Just my two-bits.
Great points, I've tried choosing films by watching the trailers and one of two things usually happens, I spend so much time watching different trailers trying to decide that I no longer have enough time to actually watch the movie or I watch the trailer, see all the good bits and then lose interest in watching the actual movie :)
However it makes no difference because unless it's added to PMS first we can't add it to PlexConnect.
For example i have setup a server and i have put one atv3 into my parents home so they can watch movies. They cant go online to check a movie trailer from a computer or read comments/reviews online.
So in this case checking the trailer will help them choose what movie to see.
Anyway as i saw the the movie database has also youtube trailers in each movie. Plex can easily grab the link (as it grabs all other information) and add it in the database. So if the link of youtube is in the database then plexconnect can grab the url and display it easy
I'm not against adding the feature if people want it, but you're missing the point that while the trailers youtube location is one of the metadata items on themoviedb.org, Plex Media Server DOES NOT grab and store this information, therefore PlexConnect has no way to get the trailers location either.
You're asking in the wrong place, this can never be added to PlexConnect until it's first added to the Plex Media Server.
I'm not against adding the feature if people want it, but you're missing the point that while the trailers youtube location is one of the metadata items on themoviedb.org, Plex Media Server DOES NOT grab and store this information, therefore PlexConnect has no way to get the trailers location either.
You're asking in the wrong place, this can never be added to PlexConnect until it's first added to the Plex Media Server.
I wouldn't say it could never be added to PlexConnect. PlexConnect knows the Movie title, year, etc an those can be used to query TMDb for the movie. Once you have the movie, it's easy to query for the trailers. This is what I have implemented on then custom Roku channel (RARFlix) I have been modifying. It might not be 100% perfect, but honestly PMS isn't either with it's scraping. I'd love/prefer too see this implemented in the PMS (so local trailers and all clients would work), but it's been a long wait and it's a feature I can't live without.
I wouldn't say it could never be added to PlexConnect. PlexConnect knows the Movie title, year, etc an those can be used to query TMDb for the movie.
Yes you're right it could be added but it would be a lot of work and mean adding a TMDb scrapper to PlexConnect, which is really beyond the scope of the project. Also PlexConnect has no place to store the trailer location once found, so everytime you want to watch the trailer the search would have to be performed again, very messy :) We just display what is already in the PMS library, if it isn't in the library we don't display it, we're not going to go trawling off to 3rd party site to grab extra data :) As I said this really needs to be added at the PMS level.
Yes you're right it could be added but it would be a lot of work and mean adding a TMDb scrapper to PlexConnect, which is really beyond the scope of the project. Also PlexConnect has no place to store the trailer location once found, so everytime you want to watch the trailer the search would have to be performed again, very messy :) We just display what is already in the PMS library, if it isn't in the library we don't display it, we're not going to go trawling off to 3rd party site to grab extra data :) As I said this really needs to be added at the PMS level.
I hope you read the rest of my post :) I did say I would prefer this is the PMS, however it's been over a year since the request has been added and someone mentioned it's been 3, but I don't see any corresponding evidence yet.
I do understand your viewpoint, that if it's not in the PMS library, that you are not going to display it. With that said, I disagree that it's messy because you have no place to store the trailer locally and you'd have to search every time. However in general, I would call it a little messy just due to the fact we don't already have the tmdb ID to use. Although we must already have the TMDB since it's a support scraper? so I need to look into this.
Here is the API call needed
1) query tmdb with movie title with year -> receive and movieID ( but we should have this already in PMS? )
2) query tmdb for tailer with movieID ( this is actually 'smart' because linked trailers will change over time, so why not grab it live )
Now you have your list and those 2 api calls only happened if clicked a 'trailer' button. I don't believe searching every time you want to view a trailer for a specific movie is unreasonable. There are already an amazing amount of API calls to the PMS.
No problem, if it's something you feel you'd like to have a go at then by all means pull the code and give it a shot. By the sounds of it it's something you already have a grasp of :) While it's not something I'd ever use I'm sure there are people who would appreciate you adding this feature.
If you do decided to give it a try and you need any help understanding the PlexConnect codebase just sent me a private message and I'll try to help out if I can.
Personally my spouse would step up and say that the Trailers option would be a big win. Our household is an ex-XBMC household, and she adored that feature, and was one of the things she immediately spotted missing when we made the switch to Plex.
I completely understand what roidy is saying; PlexConnect isn't a true client, more like an intercept/redirect. If PMS is doing the legwork on maintaining the library of content, and PlexConnect is using the AppleTV programming against itself to play from said library, then it would need to be an option formed in the PMS.
Personally my spouse would step up and say that the Trailers option would be a big win. Our household is an ex-XBMC household, and she adored that feature, and was one of the things she immediately spotted missing when we made the switch to Plex.
I completely understand what roidy is saying; PlexConnect isn't a true client, more like an intercept/redirect. If PMS is doing the legwork on maintaining the library of content, and PlexConnect is using the AppleTV programming against itself to play from said library, then it would need to be an option formed in the PMS.
We all (who want trailers) agree it should be part of the PMS. The issue is we have zero control over that. I probably won't dabble in the PlexConnect code though. My other projects here have kept me busy enough :) My wife thinks so too... and my dog.
This would be amazing, completely agreed it should be in PMS but given that they have shown no indication that they are going to add it soon, implementing it in a way that ljunkie mentioned makes a lot of sense.
I added this feature into PlexConnect (not PMS) and uses AJAX to lookup the YouTube trailer ID and uses the YouTube channel to get a proper URL for playback.
I understand where you are coming from but it currently isn’t there. This is a small function that supplements the content and can be swapped for a PMS equivalent when available.
The function/lookup is only executed when the trailer button is interacted with therefore no extra data is being transmitted unless the user wants the trailer.
The lookup is checking both the title name and the year to help get accurate results. I also append “trailer” to the search. I specify only HD (but sometimes I get SD, still working on it).
>> The function/lookup is only executed when the trailer button is interacted with therefore no extra data is being transmitted unless the user wants the trailer.
Does this mean, that youtube might not have a suitable trailer - and we are showing the "trailer" button anyways? Hm...