Kodi Community Forum
[RELEASE] Apple Movie Trailers Lite (formerly AMT II) Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Apple Movie Trailers Lite (formerly AMT II) Plugin (/showthread.php?tid=33693)



- dmemphis - 2010-12-19

Harro Wrote:once you have the google zip file installed. look in the get addons all then video addons I think that is where apple is

I see so its in the google zip file,

i'll look in to that, thanks mate


- natethomas - 2010-12-19

Um. The way it works, just to make sure we're all clear, is, First: you download the 3rd party repository zip. Second, you open XBMC. Third, you go to Settings-->Addons. Fourth, you "install from zip." Then you select the repository zip you grabbed earlier.

Then when you click "get addons" you'll have a new option listed, like "Nuka addon repository" or something like that with new addon options.


- dmemphis - 2010-12-20

natethomas Wrote:Um. The way it works, just to make sure we're all clear, is, First: you download the 3rd party repository zip. Second, you open XBMC. Third, you go to Settings-->Addons. Fourth, you "install from zip." Then you select the repository zip you grabbed earlier.

Then when you click "get addons" you'll have a new option listed, like "Nuka addon repository" or something like that with new addon options.

Thats correct and for anyone else wondering where the apple trailers are they are in the link above in the google zip file!


- Pino72 - 2010-12-20

I am using this plugin a lot and I always wondered why noone is complaining about the wrong colorspace the trailers are using, the blacks are more like a dark green etc. it seems all apple trailers are 16-235 colorspace and do not get expanded when played back in xbmc (which outputs 0-255 on a pc with DVI).....any fix for this around? BTW all other files I playback are fine (mkv's, avi's etc) and have correct blacks.


- danbst - 2010-12-24

Amet Wrote:*cough* search *cough*

http://forum.xbmc.org/showthread.php?tid=86517


O.K for a while there I was in an infinite loop. This thread is linked to that and then that is linked to this. Sometimes stuff no matter how trivial just seems put out there to frustrate you LOL.
Nod


- AuXBoX - 2010-12-25

To get Apple Movie Trailers LITE and the full version add this repo to addons

Code:
http://hotfile.com/dl/91770479/fff421e/repository.googlecode.xbmc-addons.zip.html



- darkscout - 2010-12-25

AuXBoX Wrote:To get Apple Movie Trailers LITE and the full version add this repo to addons

Code:
http://hotfile.com/dl/91770479/fff421e/repository.googlecode.xbmc-addons.zip.html

Now with no waiting.
Code:
curl -O http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip

wget http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip
http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip


- danbst - 2010-12-27

darkscout Wrote:Now with no waiting.
Code:
curl -O http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip

wget http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip
http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip

Good on yer mate.
Nice 1


- tripkip - 2010-12-28

How can I use this plugin for my library trailers instead of hdtrailers.net?


- dsmuk - 2010-12-29

It may just be that I am using a UK postcode to do the cinema listings but when I do a search it comes back with "ERROR: No Theaters found! (possible site changes,". Have Google done somethingHuh

Also, no idea if this is possible but how cool would it be if you could highlight a film, load the context menu and select Add to Couch Potato queue!


- Baswazz - 2010-12-29

darkscout Wrote:Now with no waiting.
Code:
curl -O http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip

wget http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip
http://xbmc.exstatic.org/repository.googlecode.xbmc-addons.zip

Thx for this one. The apple trailers lite version works without any problems now. No buffering problem.
The apple trailers full version does still contain the buffering problem.


Apple Movie Trailers Lite - xbmc old school - 2010-12-30

Where did it go?


- ossman - 2010-12-30

I've been messing around with the buffering issue, and I haven't made much progress yet unfortunately. I have gathered some information though.

1. It seems to be a CDN issue. I get a steady rate of 1 Mbps for most clips on the first try. Playing them again gives me a lot higher speeds, often around 10 Mbps.

2. Removing the ? from the URI doesn't seem to have much effect.

3. I have yet to see a problem with totem. Might be just a fluke, but I'm still investigating. For reference, this is the request totem sends:

Code:
GET /405/us/media/trailers/ifc_films/shoah/shoah_h480p.mov HTTP/1.1
Host: trailers.apple.com
Connection: close
icy-metadata: 1
transferMode.dlna.org: Streaming
User-Agent: Quicktime/7.2.0

And this is the request AMT sends:

Code:
GET /405/us/media/trailers/focus_features/somewhere/somewhere-clip1_h720p.mov HTTP/1.1
User-Agent: QuickTime/7.2 (qtver=7.2;os=Windows NT 5.1Service Pack 3)
Host: trailers.apple.com
Accept: */*
Referer:
Connection: keep-alive

Update: Adding the transfermode header doesn't seem to have any effect either...

Update 2: I'm now getting shitty performance with totem as well. Back to the drawing board...

Update 3: Hmm... here is something. The URI that AMT is getting is not the same that I get when using a browser to look at trailers. If Akamai is based on the exact URI, then this could explain the issue. Investigating further...


- ossman - 2010-12-30

Victory! Sort-of at least... Changing the URI makes every movie I try stream at full speed. Unfortunately I'm not sure how to reliably get that URI.

The current scheme gets some fairly well formed XML files. Looking at the files though, they seem to be for some store function in iTunes. That might explain why they are poorly cached. Unfortunately the "good" URIConfused are nowhere to be found in this XML structure (AFAICT).

Looking at the web pages instead, they are not easily parsed. The first useful URI is embedded within HTML, not JSON. Secondly, that URI points at some redirection QuickTime file. They are roughly 90 bytes long and contain an embedded reference to the real URI. Totem handle these fine, so I guess it would be possible to write a parser for them.

For now, I've done a workaround. I'd like to nominate the following for Ugly Hack of The Day<TM>:

Code:
url = url.replace("/405/us/media/trailers/", "/movies/")

It works, but it doesn't exactly give you a warm fuzzy feeling of robustness...


- compcentral - 2010-12-30

http://forum.xbmc.org/showthread.php?tid=33693