mpinegar / understudy

Automatically exported from code.google.com/p/understudy
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Front Row Disappears when exiting a Daily Show episode #168

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Built tips on Jan 20 with Xcode 3.2.3
Requires Mac OS X 10.6.5 or later.  This doesn't happen on 10.6.4 or earlier.
Choose a Daily show episode.  Let it start, then press 'Menu' to return to 
Front Row.

What is the expected output or result?
I expect to return to the Front Row menu for Daily Show episodes.

What do you see instead?
Daily show Episode closes and the Front Row spinner starts in the middle of the 
black screen.  Then the desktop returns abruptly.  But Front Row menu doesn't 
return.  If you then press menu again, the main Front Row menu appears normally.

Please provide any additional information below, including any relevant
URLs. If there is a crash report in [HOME]/Library/Logs/CrashReporter then
please attach it.

It doesn't appear to be a true crash.  There is no crash notification in 
Console.  It just seems that something in the BackRow framework changed from 
10.6.4 to 10.6.5.

Here's what appears in Console when starting Front Row, navigating to Daily 
show full episodes, starting the most recent one, then trying to return to 
Front Row.

1/29/11 4:43:45 PM  com.apple.RemoteUI[9484]    CoreAnimation: rendering error 501
1/29/11 4:44:00 PM  Front Row[9484] DailyShowController: load html:      <html>  
   <head>     <style type="text/css">       body { margin: 0; padding: 0; }     
</style>     </head>     <body onLoad="document.body.focus();">       <object   
      id="full_ep_video_player"         type="application/x-shockwave-flash"    
     classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"         
width="2560.000000"         height="1440.000000"         
xmlns:media="http://search.yahoo.com/searchmonkey/media/"         
rel="media:video"         
resource="http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:3
72467"         xmlns:dc="http://purl.org/dc/terms/">         <param 
name="movie" 
value="http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:3724
67"/>         <param name="wmode" value="opaque"/>         <param 
name="bgcolor" value="#000000"/>         <param name="seamlesstabbing" 
value="true"/>         <param name="swliveconnect" value="true"/>         
<param name="allowscriptaccess" value="always"/>         <param 
name="allownetworking" value="all"/>         <param name="allowfullscreen" 
value="true"/>         <param name="flashvars" 
value="sid=The_Daily_Show_Full_Eps&amp;autoPlay=true&amp;configParams=site128118
72thedailyshow.com"/>     </body>     </html>
1/29/11 4:44:00 PM  Front Row[9484] DailyShowController:controlWillActivate done.
1/29/11 4:44:01 PM  Front Row[9484] DailyShowController:didFinishLoadForFrame 
called.
1/29/11 4:44:02 PM  Front Row[9484] DailyShowController:didFinishLoadForFrame 
done.
1/29/11 4:44:12 PM  Front Row[9484] DailyShowController:controlWillDeactivate 
called.

(Before submitting this issue, please ensure that you will be notified of
updates by adding yourself to the CC field or by staring the issue and
configuring your profile setting.)

Original issue reported on code.google.com by pharllee...@gmail.com on 29 Jan 2011 at 11:49

GoogleCodeExporter commented 8 years ago
Thanks for reporting this. It's a known issue for which a solution has proved 
elusive.

Original comment by kirk.kel...@rochester.edu on 30 Jan 2011 at 4:01

GoogleCodeExporter commented 8 years ago
Kirk,

I'm sort of glad that it's not just my setup.  The really odd thing is that if 
you go back to where netflix wasn't using the external player, then the same 
exact code works with that setup on 10.6.6.

Pete

Original comment by pharllee...@gmail.com on 30 Jan 2011 at 6:50

GoogleCodeExporter commented 8 years ago
Ok, that is interesting. I'll have to check out that code. 

Original comment by brow...@gmail.com on 30 Jan 2011 at 7:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Can you tell me which revision of the Netflix controller you were using that 
does not use the separate player and works on 10.6.6?  I went back to 
http://code.google.com/p/understudy/source/browse/Netflix/NetflixController.m?sp
ec=svn268aa1058b31bfdb6153f0249305244915aa2786&r=268aa1058b31bfdb6153f0249305244
915aa2786 to see if I could find anything, but nothing stands out.

Original comment by brow...@gmail.com on 31 Jan 2011 at 4:42

GoogleCodeExporter commented 8 years ago
I'm pretty sure that it's the equivalent to 0.7.  I'd created a controller for 
Daily Show and Colbert report also based on 0.8.2 (functional, but not as good 
as your implementation), and was examining the inline netflix viewer versus the 
external player to learn more when I stumbled across this interesting 
difference.

I've attached the NetflixController.m file that I was using.  I don't see 
anything that stands out.  If I get a chance over the next couple days I'll try 
to integrate my changes with tips locally.

Original comment by pharllee...@gmail.com on 2 Feb 2011 at 12:33

Attachments:

GoogleCodeExporter commented 8 years ago
I've made the changes to tips and attached the two files.  The effect is still 
there.  The inline netflix viewer returns to FR as normal,but the Daily Show 
controller doesn't.

Original comment by pharllee...@gmail.com on 2 Feb 2011 at 12:46

Attachments:

GoogleCodeExporter commented 8 years ago
I wonder if this has to do with Netflix using silverlight and loading a 
separate window. I know that the netflix player has do some magic to figure out 
the silverlight window after it goes fullscreen.  

I load the Dailyshow flash player using a simple <object> tag in a local html 
template file. Since the call to [window close] is what causes the crash, I 
wonder if the webview I am using is somehow getting tangled up with frontrow's 
window and closing it causes a silent crash. 

Original comment by brow...@gmail.com on 2 Feb 2011 at 2:26

GoogleCodeExporter commented 8 years ago
Well, it turns out Hulu now carries Daily Show again, so this endeavor may be 
pointless.

Original comment by brow...@gmail.com on 17 Feb 2011 at 10:47

GoogleCodeExporter commented 8 years ago
I'm guessing there isn't much demand for this now that Hulu provides The Daily 
Show and Colbert Report, but it would be nice to have support for other shows 
too.

Original comment by kirk.kel...@rochester.edu on 3 Apr 2011 at 1:48

GoogleCodeExporter commented 8 years ago
I guess you haven't made any progress on the crash in exit?

Original comment by brow...@gmail.com on 3 Apr 2011 at 2:54