I was looking at this yesterday, have the whole plugin ready but it requires the Quicktime user-agent to be sent. I have to look if FFmpeg supports that and if yes, implement the change - so it wouldn't work until 0.6.1 anyway.
Looked into it, doesn't seem we can pass headers to http requests in ffmpeg. Unless not via ffmpeg command line - if someone figures this out then this plugin is a go.
Petr Serviio developer / site admin Do not send me PM for support as the solution can't be shared with others.
Could java (which i know little about) stream the file to ffmpeg instead of ffmpeg going direct to apple? java.net.URLConnection c = url.openConnection(); c.setRequestProperty("User-Agent", "Quicktime/7.2.0");
What id the trailers were downloaded periodically and then ffmpeg'd?
I did this for my Samsung TV using PHP, ffmpeg, and OSFLV. ffmpeg options "-vcodec copy" and "-acodec copy" make changing from mp4-->avi/flv/mkv very fast.
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360 Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360 Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
All the sources including apple provide 3 qualities 480,720 and 1080 and the plugin allows you to choose. There are also lots of movies for which apple has no trailers so an exclusive apple one would be limited.
However, I have added a new option pref=apple so if there is an apple trailer available the latest apple trailer will be shown in place of the latest trailer overall. So best of both worlds.