LinHES Forums
http://forums.linhes.org/

Apple Trailers not working since upgrade
http://forums.linhes.org/viewtopic.php?f=21&t=24381
Page 1 of 1

Author:  Girkers [ Thu Jul 21, 2016 6:14 pm ]
Post subject:  Apple Trailers not working since upgrade

Since I have upgraded to 8.4.1 Apple Trailers are not working, you an select a trailer and you get the loading message and then nothing it just goes away and nothing plays.

I am not even sure which log to look at to see what is happening, any idea on how to troubleshoot and fix?

Cheers

Author:  brfransen [ Fri Jul 22, 2016 7:09 am ]
Post subject:  Re: Apple Trailers not working since upgrade

Start with the ~/appletrailer.xml and run one of the menu items from cmd line and see if you get any errors.

Author:  Girkers [ Fri Jul 22, 2016 5:31 pm ]
Post subject:  Re: Apple Trailers not working since upgrade

Found two issues:

1. When looking at the file ~/appletrailer.xml it is bleedingly obvious there is an issue, the trailer command uses && instead of &&
Code:
EXEC loading.sh && mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/wb/batmanthekillingjoke/batmanthekillingjoke-tlr1_h640w.mov


2. Once that was fixed I then found that mplayer was missing libmpeg2, used pacman to install it.

Thus once both of these issues were corrected I was then able to play a trailer.

Went a little deeper into it and found the file: /usr/bin/myth_trailers_grabber had the errant command for issue 1 above, I replaced the appropriate && and then ran /etc/cron.daily/trailers to grab the trailers and check appletrailers.xml and it now has the right command. Go to the Apple Trailers menu and now find I get this error:
Code:
The menu file appletrailer.xml is incomplete.


Checking the appletrailer.xml file further everything looks fine, except it ends like this:
Code:
        <button>
                <type>VIDEO_BROWSER</type>
                <text>Marauders*VIDEO ERROR*</text>
                <action>EXEC </action>
        </button>

</mythmenu>


I would have created a bug for this issue except I can't seem to find where to create a bug these days.

Cheers and looking forward to hearing how to fix this issue.

Author:  brfransen [ Fri Jul 22, 2016 6:52 pm ]
Post subject:  Re: Apple Trailers not working since upgrade

The &amp;&amp; is correct encoding for the xml file. But to run it from the shell it does need to be &&. Change that back and you should be good. The issue for you was libmpeg2 not being installed. I will have to look deeper as to why it wasn't a dep of mplayer.

Author:  Girkers [ Fri Jul 22, 2016 7:56 pm ]
Post subject:  Re: Apple Trailers not working since upgrade

I have changed it back but still get the issue of the error of the menu item now being incomplete.

Author:  brfransen [ Fri Jul 22, 2016 8:11 pm ]
Post subject:  Re: Apple Trailers not working since upgrade

Since it is still incomplete it sounds like the grabber didn't get corrected and the cron run.

Author:  brfransen [ Fri Jul 22, 2016 8:14 pm ]
Post subject:  Re: Apple Trailers not working since upgrade

I also have the Marauders Video Error but I suspect that is a problem parsing the feed. However all the other videos still work here with that error.

Author:  JerryF [ Tue Jul 26, 2016 7:20 pm ]
Post subject:  Re: Apple Trailers not working since upgrade

It *is* a problem with the feed:
http://trailers.apple.com/trailers/home/xml/current.xml

Looks like the XML is not well-formed, due to a bad character in the Marauders description that's causing things to choke.

I logged it with Apple as a website issue, so we'll see if they can do anything about it.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/