Auto download Apple trailers with Fexget.
#1
Hi,
I want to share my config about automatic Apple Trailer download to my XBMC. If you don't know what Flexget is, check this out.

Flexget config.yml:
Code:
feeds:
  apple_trailer:
    headers:
      User-Agent: "QuickTime/7.6.5 (qtver=7.6.5;os=Windows NT 5.1Service Pack 3)"
    text:
      url: http://trailers.apple.com/trailers/home/xml/current_480p.xml
      entry:
        title: <title>(.+?)<\/title>
        url: <large filesize="\d*">(.+?)<\/large>
    exec: curl -G "'http://localhost:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn(Notification(FLEXGET,New_Trailer_downloaded!,20000))'"
    accept_all: yes
    extension: mov
    download: ~/Trailers/

PS: This example only ever sees a latest single entry. If you find a way for sees all entry please share with me.
Reply
#2
Interesting. But what program is doing the actual downloading? I mean, I've used flexget with deluge for tv-shows, but these are not torrent feeds? Is it an addon for XBMC?
Reply
#3
The fourth from bottom line of the config shows that he's using curl.

This looks interesting - I've been using a script that I adapted from somewhere on the interweb to keep my trailers folder up-to-date, I'll have to see whether this can do some of the work for me...
Image
Reply
#4
I totally missed that line. Thanks for pointing that out Smenus. Not sure I understand what happens there though.
Reply

Logout Mark Read Team Forum Stats Members Help
Auto download Apple trailers with Fexget.0