MyTrailers (2 Viewers)

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
ArmandP some good work you did there.

I'm not to sure about these thoughts you're having about plots and other detailinfo.

I already noticed that the plugin is slower now, it will be even slower when you implement the stuff you suggested. Especially the one request per movie, I think that will be terribly slow.

I can live with the fact that I can only see the detailed info when I selected the movie. This way you don't have to make requests which are bassically useless for the user cause he's not interested in that particular movie.

Just my 2 cents.
 

armandp

Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    Joz: that were my initial thoughts exactly.. index should be minimal information i only implemented the extra info because of the myvideo skin (inparticular the Aeon Wide one) had this also. I still need to define my own layout. The thing that makes this release slower is that it shows you the High Quality cover on select because mp needs to process the image (and retrieve it from the web). I probably should create my own handler so it does this more efficiently and not stop the user from selecting the item in the list untill it shows.
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    I probably should create my own handler so it does this more efficiently and not stop the user from selecting the item in the list untill it shows.

    Something with a backgroundworker maybe?

    Was just reading 'bout this threading discussion on another forum, C# seems really handy compared to the work I'm doing with threads in J2ME.

    I'm kinda annoyed sometimes with MP for hanging. But then again I use it on my PC (which I use for 'bout everything including as a TV) so getting bothered with this is just second nature working on windows all the time :)
     

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    I added a GameTrailers.Com provider (initial test to see if the provider design is sufficient) For what it's worth you can try this new version if you like to watch game trailers. This provider has HD and SD source in .wmv format btw (.mov also available but not implemented yet).

    Download: http://mytrailers.googlecode.com/files/MyTrailers-2.0.0.143-preview.zip
     

    LRFalk01

    Portal Pro
    August 27, 2007
    257
    92
    39
    Home Country
    United States of America United States of America
    Hey armandp, I was way too busy at work today to actually work on the Yahoo provider, but I did have a chance to start looking through your code. I noticed that your worker item is not abstract. Could you make it that way? I need to change some headers in the WebClient for Yahoo to work. I am still trying figure your stuff out mainly because I am inexperienced, but I should be able to get it.

    Thanks,
    LRFalk01
     

    thesystemera

    Portal Pro
    May 26, 2008
    810
    22
    42
    Auckland
    Home Country
    New Zealand New Zealand
    Good stuff guys. Got this mostly working.. Doesn't seem to play all video resolutions though, is it just that the host doesn't have everything from small to 1080p and if so is there a way to only show what is specifically available. Thanks...
     

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    Good stuff guys. Got this mostly working.. Doesn't seem to play all video resolutions though, is it just that the host doesn't have everything from small to 1080p and if so is there a way to only show what is specifically available. Thanks...

    If you are talking about Gametrailers then the answer is: they only provide two flavors (standard and hd). Generally the plugin only shows what's available from the source.
     

    armandp

    Retired Team Member
  • Premium Supporter
  • April 6, 2008
    990
    620
    Zoetermeer
    Home Country
    Netherlands Netherlands
    Hey armandp, I was way too busy at work today to actually work on the Yahoo provider, but I did have a chance to start looking through your code. I noticed that your worker item is not abstract. Could you make it that way? I need to change some headers in the WebClient for Yahoo to work. I am still trying figure your stuff out mainly because I am inexperienced, but I should be able to get it.

    Thanks,
    LRFalk01

    Feel free to use your own WebClient implementation..the only thing you should care about for now is implementing the 6 abstract methods from TrailerProviderBase. The GetWebData, GetXml and GetJson in the Utils namespace are just one of many possible implementations of getting the data from the web. I just put the short-hands to these methods in the TrailerProviderBase for easy access.
     

    LRFalk01

    Portal Pro
    August 27, 2007
    257
    92
    39
    Home Country
    United States of America United States of America
    Sounds good. I hope to be able to work on this tomorrow. Either way, some time next week I should have the provider there.

    You may want to add to your bug list that you cannot press 'Esc' to go to a previous menu on the plugin. It takes you out of the plugin altogether.
     

    Users who are viewing this thread

    Top Bottom