XBMC Community Forum
QuickTimeBrowser - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: QuickTimeBrowser (/showthread.php?tid=11010)

Pages: 1 2 3 4 5 6 7 8 9 10 11


- Mouton - 2005-03-31 04:24

download latest version (1.38) here
note: xbmcscripts.com don't allow rar files, so the latest version wasn't posted there.

script to download trailers from quicktime.com, like aqtbrowser, just better.

Quote:# apple quicktime script using itunes xml files
#   -- based on aqtbrowser by darkie
#
# @author mouton <mouton_x@abuserz.com>
# @date 2006-03-16
# @version 1.38

installation:
- copy the directory from lib/* to your xbmc/python/lib directory.
 note: you should end up with new files in xbmc/python/lib/_xmlplus/*
- copy both .py files to your xbmc/scripts directory.
- launch quicktimebrowser.py

the initial load can take some time to complete (about 5 mins). the next times
you'll load the script, it won't take that long.

to mark a movie as a favorite, use the controller x or the remote 1 buttons.
use the same buttons to remove favorites from the list when you see your
favorites listed. you can watch your favorites trailers as you would any other
trailer (a on controller).

use the download and/or save checkboxes to download the trailer before playing
it and to save the trailers you watch on your xbox hard-drive.

finally, a dialog will pop if you set default_size = -1 or if more trailers
than the 4 standard ones are found.

enjoy!

- mouton



- darkie - 2005-03-31 08:48

nice to see you have finished your script.
i haven't tried it yet, but will do it soon Smile


- BritneysPAIRS - 2005-03-31 11:26

this is cool, one thing is there any way to change the download directory to put it into my movies folder and not everything just the downloaded movies then this would be a 10 out 10 instead of a 9.8 out of 10 Smile

thanks


- Mouton - 2005-03-31 14:58

(britneyspairs @ mar. 31 2005,10:26 Wrote:this is cool, one thing is there any way to change the download directory to put it into my movies folder and not everything just the downloaded movies then this would be a 10 out 10 instead of a 9.8 out of 10 Smile

thanks
-open quicktimebrowser.py in a text editor
-see how easily you can change the download_dir
-marvel

btw, to use a hard-coded path, use something like:
download_dir = 'f:\\movies\\downloaded trailers'


- Mouton - 2005-03-31 15:01

what build(s) are you using my script successfully on ?

i'm having problems with quicktime in python on my build (i don't have sound when playing the .mov in python, but they work fine from hd!Wink using 6.3 qt dlls. darkie: anything changed in python implementation that could have caused this ?


- pike - 2005-03-31 15:20

correct me if i'm wrong, but all your script does is gives us nice links (url's) to the trailers which then mplayer playbacks ? so the issue is logically in either mplayer/codecs or xbmc itself


- pike - 2005-03-31 15:24

btw i did some memory measurements yesterday
xbmc current cvs, ui in 720p, pm1 skin

(one of our devs couldnt run it with debug.xbe Tongue)

freemem when freshly booted: 31.7mb (my scripts screen)
freemem while your script parsing, varies wildly but recordlow was: 15.3mb
freemem after all parsing done and script launches: 25.2mb
freemem while 'large' trailer playing: ~4mb


- thor918 - 2005-03-31 20:13

i got down to 1mb reported on lcd while playing large movie.
anyway. i must congrat you on the works. one little tip by me is that it would be better if you could load a gui start and then display download of xml progress in the gui. sometimes you may think the download is hanging, because of the long time.


- BritneysPAIRS - 2005-04-01 04:16

ummm doesnt that downlad a lot of other stuff into the video folder ive looked at it and download path is used in many places in script.

ill look at it tonight and test and see maybe ill make another path


- seven5 - 2005-04-01 10:49

awesome, can't wait to try it. i'm glad to see that someone finaly used the xml. now it will be perfect and never break. no more random trailers not working. woot!