RE: [RELEASE] The Trailers - Van Gogh - 2013-01-21
@el.kiwi, awesome!!
It completely works! And another xbmc-install did an auto-update and everything is working perfect.
I have to learn more about programming in python
RE: [RELEASE] The Trailers - aNILEator - 2013-01-21
Hmm not working for me, well not really.
Saw that it updated. GREAT!
Played the first video I tried (Side effects trailer) as I knew this one wasn't working. AWESOME
Try to play another one I knew wasn't working for me. It plays Side Effects trailer again..... OH NO
(I once got it to play The Incredible Burt Wonderstone, but now same issues, either side effects or Burt Wonderstone)
Now all trailers I try to play are the side effects trailer or another one I've already watched
I've also tried context menu -> download trailer, and that too downloads the Side Effects Trailer
Have tried a different quality setting, that one then plays that trailer, but same error then happens (albeit with whatever the new video was)
Any idea how to fix, or how I can provide a detailed log for you guys?
Detailed instructions please, I'm very new to xbmc (Not afraid to poke it though ), using frodo and xperience1080 skin. (but confirmed addon issues in confluence also) People suggested using HD Trailers addon but I don't like how many menus/steps there are to that addon, this one is what I want simple click a poster watch a trailer.
RE: [RELEASE] The Trailers - crni - 2013-01-21
I keep getting this error in the log:
PHP Code: 21:51:20 T:192 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'xbmcswift.urls.NotFoundException'> Error Contents: Traceback (most recent call last): File "C:\Users\xxx\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\addon.py", line 489, in <module> plugin.run() File "C:\Users\xxx\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib\xbmcswift\plugin.py", line 330, in run self.dispatch(self.path) File "C:\Users\xxx\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib\xbmcswift\plugin.py", line 130, in dispatch raise NotFoundException NotFoundException -->End of Python script error report<--
with latest update trailers do start playing but then xbmc freezes any ideas ? tnx
RE: [RELEASE] The Trailers - el.kiwi - 2013-01-22
Hello again,
The first error is a typical Don't-Drink-And-Code one ... Sorry for that. In the "get_trailer" function please replace the except part with
Code: except:
url=self.BACKUP_MOVIE_BASE % movie['movie_string']
tree = None
if quality_id=='h480p.mov':
cache=(movie['movie_string'].split('/')[1])+trailer_type+quality_id+'.xml'
tree=self.__get_tree(url + 'itsxml/25-'+trailer_type+'.xml',cache_filename=cache)
if quality_id=='h720p.mov':
cache=(movie['movie_string'].split('/')[1])+trailer_type+quality_id+'.xml'
tree=self.__get_tree(url + 'itsxml/26-'+trailer_type+'.xml',cache_filename=cache)
if quality_id=='h1080p.mov':
cache=(movie['movie_string'].split('/')[1])+trailer_type+quality_id+'.xml'
tree=self.__get_tree(url + 'itsxml/27-'+trailer_type+'.xml',cache_filename=cache)
for s in tree.findAll('dict'):
for k in s.findAll('key'):
if k.string == 'URL':
url = k.nextSibling.string
if quality_id in url:
return ('%s?|User-Agent=%s' % (url, self.UA))
As for the second one, crni by any chance are you using Aeon Nox?
RE: [RELEASE] The Trailers - bushbrother - 2013-01-22
I am using Aeon Nox and I still get the freezing issue even after the update, I see one frame of the video overlayed with the home screen, sometimes with sound, sometimes just a freeze. Any suggestions? The plugin is great looking BTW
RE: [RELEASE] The Trailers - Dakkar - 2013-01-22
I am getting the following in the log
Code: 01:45:13 T:2344 NOTICE: Apple scraper: __get_url started with url=http://trailers.apple.com/trailers/independent/thelastexorcismpartii/includes/playlists/web.inc, cache_filename=thelastexorcismpartiiwebinc.xml
01:45:13 T:2344 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 19: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\addon.py", line 489, in <module>
plugin.run()
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib\xbmcswift\plugin.py", line 330, in run
self.dispatch(self.path)
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib\xbmcswift\plugin.py", line 129, in dispatch
return view_func(**items)
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\addon.py", line 171, in get_trailer
source_id, movie_title, is_download=is_download,
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\addon.py", line 438, in __select_check_trailer
trailer_type = ask_trailer_type(source, movie_title)
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\addon.py", line 196, in ask_trailer_type
trailer_types = source.get_trailer_types(movie_title)
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\resources\lib\apple_trailers.py", line 124, in get_trailer_types
tree=self.__get_tree(t_url,cache_filename=cache_filename)
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\resources\lib\apple_trailers.py", line 227, in __get_tree
html = self.__get_url(url, referer, cache_filename)
File "C:\Users\Paolo Croc�\AppData\Roaming\XBMC\addons\plugin.video.the.trailers\resources\lib\apple_trailers.py", line 235, in __get_url
cache_file = os.path.join(self.cache_path, filename)
File "C:\Program Files\XBMC\system\python\Lib\ntpath.py", line 108, in join
path += "\\" + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19: ordinal not in range(128)
-->End of Python script error report<--
01:45:13 T:7012 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.the.trailers/apple/trailer/The+Last+Exorcism+Part+II/play
I guess it is because I am using special characters in my UserData path...
Any chance to get this fixed?
Thank you,
Dakkar
RE: [RELEASE] The Trailers - curtis-r - 2013-01-22
@aNILEator,
I have the same problem. Everything was working great, but now a bunch of trailers show the trailer for "Side Effects". Maybe a conspiracy from the "Side Effects" producers
@el.kiwi,
I can't seem to substitute your new code without getting a python error. Certainly is an error on my part, but still...
RE: [RELEASE] The Trailers - aNILEator - 2013-01-22
I'm getting a python error too... I think I'm editing it right :S never done it before so wouldn't know.
RE: [RELEASE] The Trailers - ursli - 2013-01-22
The forum screwed the spacing on el.kiwi's post, just look at how it is in the original file or copy paste this one: http://pastebin.com/raw.php?i=FAi2TD1E
Still getting errors in addon.py but the playback is fixed, not getting stuck on a trailer with this.
edit: I shouldn't copy paste stuff from the ipad, fixed the link.
RE: [RELEASE] The Trailers - crni - 2013-01-22
(2013-01-22, 00:45)el.kiwi Wrote: As for the second one, crni by any chance are you using Aeon Nox?
(2013-01-22, 01:17)bushbrother Wrote: I am using Aeon Nox and I still get the freezing issue even after the update, I see one frame of the video overlayed with the home screen, sometimes with sound, sometimes just a freeze. Any suggestions? The plugin is great looking BTW
I'm using Xperience1080 and have exactly the same problem with freezing.
This is what happens according to the log:
PHP Code: 08:55:32 T:1228 NOTICE: -->Python Interpreter Initialized<-- 08:55:32 T:1228 NOTICE: The Trailers addon: get_trailer started with mode=play source_id=apple movie_title=Oblivion 08:55:32 T:1228 NOTICE: The Trailers addon: __select_check_trailer started with source_id=apple movie_title=Oblivion is_download=False 08:55:32 T:1228 NOTICE: The Trailers addon: __get_source using: apple 08:55:32 T:1228 NOTICE: Apple scraper: __get_movies started 08:55:32 T:1228 NOTICE: Apple scraper: __get_url started with url=http://trailers.apple.com/trailers/home/xml/current.xml, cache_filename=None 08:55:32 T:1228 NOTICE: Apple scraper: __get_url using cachefile: C:\Users\crni\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.the.trailers\cache\current.xml 08:55:32 T:1228 NOTICE: Apple scraper: __get_url got 153903 bytes 08:55:33 T:1228 NOTICE: Apple scraper: get_movies finished with 101 elements 08:55:33 T:1228 NOTICE: Apple scraper: get_trailer_types started with movie_title: Oblivion 08:55:33 T:1228 NOTICE: Apple scraper: __get_url started with url=http://trailers.apple.com/moviesxml/s/universal/oblivion/index.xml, cache_filename=oblivion.xml 08:55:33 T:1228 NOTICE: Apple scraper: __get_url opening url: http://trailers.apple.com/moviesxml/s/universal/oblivion/index.xml 08:55:35 T:1228 NOTICE: Apple scraper: __get_url started with url=http://trailers.apple.com/trailers/universal/oblivion/includes/playlists/web.inc, cache_filename=oblivionwebinc.xml 08:55:35 T:1228 NOTICE: Apple scraper: __get_url opening url: http://trailers.apple.com/trailers/universal/oblivion/includes/playlists/web.inc 08:55:35 T:1228 NOTICE: Apple scraper: __get_url got 2622 bytes 08:55:35 T:1228 NOTICE: Apple scraper: get_trailer_qualities started with movie_title: Oblivion 08:55:35 T:1228 NOTICE: Apple scraper: get_trailer_qualities started with movie_title: Oblivion 08:55:35 T:1228 NOTICE: Apple scraper: get_trailer started with movie_title: Oblivion trailer_type: trailer quality_id: h720p.mov 08:55:35 T:1228 NOTICE: Apple scraper: __get_url started with url=http://trailers.apple.com/moviesxml/s/universal/oblivion/index.xml, cache_filename=oblivion-trailer.xml 08:55:35 T:1228 NOTICE: Apple scraper: __get_url opening url: http://trailers.apple.com/moviesxml/s/universal/oblivion/index.xml 08:55:35 T:1228 NOTICE: Apple scraper: __get_url started with url=http://trailers.apple.com/trailers/universal/oblivion/itsxml/26-trailer.xml, cache_filename=obliviontrailerh720p.mov.xml 08:55:35 T:1228 NOTICE: Apple scraper: __get_url opening url: http://trailers.apple.com/trailers/universal/oblivion/itsxml/26-trailer.xml 08:55:36 T:1228 NOTICE: Apple scraper: __get_url got 2358 bytes 08:55:36 T:3984 NOTICE: DVDPlayer: Opening: http://trailers.apple.com/405/us/media/trailers/universal/oblivion/oblivion-tlr1_h720p.mov?|User-Agent=QuickTime/7.6.5 (qtver=7.6.5;os=Windows NT 5.1Service Pack 3) 08:55:36 T:3984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 08:55:36 T:1716 NOTICE: Thread CDVDPlayer start, auto delete: false 08:55:36 T:1716 NOTICE: Creating InputStream 08:55:38 T:1716 NOTICE: Creating Demuxer 08:55:38 T:1016 NOTICE: Thread CFileCache start, auto delete: false 08:55:46 T:1716 NOTICE: Opening video stream: 0 source: 256 08:55:46 T:1716 NOTICE: Creating video codec with codec id: 28 08:55:46 T:1716 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 08:55:46 T:1716 NOTICE: Creating video thread 08:55:46 T:1716 NOTICE: Opening audio stream: 1 source: 256 08:55:46 T:1716 NOTICE: Finding audio codec for: 86018 08:55:46 T:1716 NOTICE: Creating audio thread 08:55:46 T:1280 NOTICE: Thread CDVDPlayerAudio start, auto delete: false 08:55:46 T:1280 NOTICE: running thread: CDVDPlayerAudio::Process() 08:55:46 T:1280 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through) 08:55:46 T:1832 NOTICE: Thread CDVDPlayerVideo start, auto delete: false 08:55:46 T:1832 NOTICE: running thread: video_thread 08:55:46 T:1832 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 544, dwidth: 1280, dheight: 544 08:55:46 T:1832 NOTICE: Display resolution USER : 1366x768 @ 60.00 - Full Screen #2 (17) 08:55:46 T:1832 NOTICE: D3D: rendering method forced to DXVA2 processor
at this point XBMC freezes and I have to kill it in the task manager. I have no problem with playing any other videos in XBMC
RE: [RELEASE] The Trailers - kevinkelm - 2013-01-22
I have the same problem with freezing video on a mac mini frodo.
The sound will continue to play but the video is stuck on the first frame. Eventually the video will show after fast forwarding to catch up to the audio.
RE: [RELEASE] The Trailers - aNILEator - 2013-01-22
thanks for the pastebin link working here so far (though i am testing over a remote connection) will test properly soon :-)
RE: [RELEASE] The Trailers - curtis-r - 2013-01-23
@ursli,
When I subsitute your or el.kiwi's code I get the addon.py error when I try to download a trailer also.
RE: [RELEASE] The Trailers - cruzannavy - 2013-01-23
unfortunately still no luck for me either, tested on frodo rc3 on windows 7 and vista.
upgrade plugin. Just get first frame and then only audio and its frozen.
tried to edit the script and i get a plugin error like other users.
maybe someone can upload there working apple_trailers.py file for me to test to see if it works and post my debug if it fails from a known working addon?
RE: [RELEASE] The Trailers - jingai - 2013-01-23
FWIW, it's working for me as of last update with Metropolis skin.
|