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)



- mihaii - 2011-02-04

I get lots of "buffering" although my internet connection is very fast..
I can stream easily 1080p from my laptop or ipad.. but when i use xbmc (from linux flash drive) i get plenty of "buffering"

does it matter what City / Zip code i use?
Thanks

I run it on Dharma, and use the nuka repo's

solved.. deleted the "+" Smile


- Juggels - 2011-02-07

mihaii Wrote:solved.. deleted the "+" Smile

I get the same problem (not only in Apple Trailers but also in Youtube or HD-Trailers), where did you remove the "+" ?
Maybe this can make streaming in Dharma work for me too Smile


- Znuff - 2011-02-09

Delete the + what?!

I'm having the same issue. I usually stream at 50-60Mbit/sec with Quicktime, but I get alot of buffering and I only get 5-6Mbit/sec when I use XBMC.

I've monitored the application, it seems to connect to the same mirror Quicktime connects. So what seems to be the issue? Undecided


- mihaii - 2011-02-09

--- a/trailers.py.org
+++ b/trailers.py
@@ -184,7 +184,7 @@ class _Parser:
# convert size to long
size = long( size )
# add User-Agent to trailer url
- trailer_url += "?|User-Agent=%s" % ( urllib.quote_plus( sys.modules[ "__main__" ].__useragent__ ), )
+ trailer_url += "|User-Agent=%s" % ( urllib.quote_plus( sys.modules[ "__main__" ].__useragent__ ), )
# encode/clean plot
plot = unicode( unescape( trailer[ 9 ] ), encoding, "replace" )
# duration of trailer


- ares01 - 2011-02-09

where is that code exactly?

i cant find it anywhere in xbmc folder


- queeup - 2011-02-09

Its written on diff Smile

trailers.py inside resources/lib directory.


- Agin - 2011-02-09

queeup Wrote:Its written on diff Smile

trailers.py inside resources/lib directory.

Thanks! Smile


- daninino - 2011-02-11

I looked at the trailer.py and it seems to be already changed, but I still get a lot of buffering even though i'm on a 10Mbit line and only running 720p content. Doesn't seem to be a problem with Quicktime?


- colbert - 2011-02-11

Yes buffering issue here as well on fast line that grabs trailers off Apple's site with zero hangups outside of XBMC.

I also have an issue where if I set the setting in the add-on to Download & Save, it freezes. This is the only output I'm getting from the log:

Code:
ââ> tail xbmc.log
14:17:00 T:2658933616 M:2194010112   DEBUG: Process - Setting the Python path to /home/bobby/.xbmc/addons/plugin.video.apple.movie.trailers.lite:/home/bobby/.xbmc/addons/script.module.cryptopy/lib:/home/bobby/.xbmc/addons/script.module.common.playback/lib:/home/bobby/.xbmc/addons/script.module.simplejson/lib:/home/bobby/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/home/bobby/.xbmc/addons/script.web.viewer/lib:/home/bobby/.xbmc/addons/script.module.elementtree/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
14:17:00 T:2658933616 M:2194010112   DEBUG: Process - Entering source directory /home/bobby/.xbmc/addons/plugin.video.apple.movie.trailers.lite
14:17:00 T:2658933616 M:2194010112    INFO: Loading skin file: DialogProgress.xml
14:17:00 T:2658933616 M:2194010112   DEBUG: ------ Window Init (DialogProgress.xml) ------
14:17:00 T:2658933616 M:2194010112   DEBUG: ----------------------------------------------------------------------
14:17:00 T:2658933616 M:2194010112   DEBUG: >>> _download_video(title: u'Elektra Luxx')
14:17:00 T:2658933616 M:2194010112   DEBUG: ----------------------------------------------------------------------
14:17:24 T:2799430512 M:2192683008   DEBUG: Thread 2799430512 terminating (autodelete)
14:17:28 T:2754603888 M:2191720448   DEBUG: Thread 2754603888 terminating (autodelete)
14:17:28 T:2762996592 M:2191720448   DEBUG: Thread 2762996592 terminating (autodelete)

Thanks for any help!


- distorted1 - 2011-02-12

Hi there, i installed this plugin a couple of weeks ago. But it still isn't updating the trailers for me. There are a whole bunch of new trailers out on the apple website but they aren't listed in the plugin. I also downloaded the full version and there was the same problem. Although today the full version started grabbing the new trailers but the lite version still only lists some older ones. Not the new ones like the new transformers 3 trailer (that came out with the super bowl). I already uninstalled the plugin and re-installed it but no succes. Anybody else has this problem?


- wphj1 - 2011-02-13

Hi all together!

I installed this great plug in yesterday and everything works fine,
BUT i don´t get any posters or thumbnailsHuh

The Trailers work, the description works but no pictures whatsoever.

What am i doing wrong?Sad


- Terracotta - 2011-02-15

Juggels Wrote:I think it is caused by the trailer source... If i looked at the code correctly the plugin gets the information from the following url: http://trailers.apple.com/trailers/home/xml/current_720p.xml. My experience is that Apple refreshes this information only once every two weeks or something.

Mine wasn't updating with new trailers so had a sniff around the scripts and found that its was trying to pull down the list of trailers from http://trailers.apple.com/trailers/home/xml/recent_720p.xml which doesn't exist (anymore?). I modified the references to 'recent_' in the script 'trailers.py' (sorry don't have the exact line as I am at work) to 'current_' and now it works - I am getting 109 trailers.

Not sure if this is the correct way to fix my problem but it certainly has worked. Possibly Apple have changed the URL ....


- castortray - 2011-02-18

Hi All,

In some movies I have issue with playing trailers Sad
I'm using filmweb scrapper
trailers comes from site:
http://www.filmweb.pl/film/Stary%2C+kocham+ci%C4%99-2009-467340/video

Code:
20:51:15 T:6168 M:2090790912  NOTICE: -->Python Interpreter Initialized<--
20:51:21 T:5284 M:2089398272  NOTICE: DVDPlayer: Opening: http://trailers.apple.com/movies/dreamworks/iloveyouman/iloveyouman-tlr1_480p.mov
20:51:21 T:5284 M:2089398272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:51:21 T:4100 M:2089328640  NOTICE: Creating InputStream
20:51:22 T:4100 M:2088972288  NOTICE: Creating Demuxer
20:51:22 T:4100 M:2085150720 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
20:51:22 T:4100 M:2085150720 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
20:51:22 T:4100 M:2085146624  NOTICE: CDVDPlayer::OnExit()
20:51:22 T:4100 M:2085146624  NOTICE: DVDPlayer: eof, waiting for queues to empty
20:51:22 T:4100 M:2085146624  NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:51:22 T:4100 M:2085142528  NOTICE: CDVDPlayer::OnExit() deleting input stream
20:51:22 T:5284 M:2085081088  NOTICE: CDVDPlayer::CloseFile()
20:51:22 T:5284 M:2085081088 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:51:22 T:5284 M:2085081088  NOTICE: DVDPlayer: waiting for threads to exit
20:51:22 T:5284 M:2085081088  NOTICE: DVDPlayer: finished waiting

I don't know what is the issue Sad

When I downloaded http://trailers.apple.com/movies/dreamworks/iloveyouman/iloveyouman-tlr1_480p.mov I got an 86 byte file, looks that the URL is broken:

----
Image
----

BUT it's ok when play this trailer in Opera browser:

----
Image
----

Can be played (streamed in browser), but couldn't be downloaded.
So why can't be played/streamed in XBMC ?, really strange Huh


hopefully someone can help.

• Running Dharma 10 rev.35744 on Windows 7 (ASRock ION 330HT) with skin [MOD] Customizable Confluence


- hendoben - 2011-03-07

Has this add-on been removed from the repository? Can't seem to find it where it usually was.


- Riderzzz - 2011-03-07

hendoben Wrote:Has this add-on been removed from the repository? Can't seem to find it where it usually was.

http://forum.xbmc.org/showpost.php?p=699517&postcount=626
Smile