Gametrailers.com

Internet TV, Radio, Podcasts
manek
Posts: 5
Joined: Mon Mar 22, 2010 6:46 pm

Gametrailers.com

Post by manek »

Hi

I've created a very simple script to extract and handle links from Gametrailers.com RSS

.......

<cut>

please use a file from this topic http://www.wildmediaserver.com/forum/vi ... 1697#p1697

Manek
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Gametrailers.com

Post by Eugene »

Hi,

It's great, I tried and it works for me. I think me need to add the script loading podcast properties, it will be convenient to load thumbnails, it will be in future versions.
miles
Posts: 1
Joined: Thu Mar 25, 2010 11:06 pm

Re: Gametrailers.com

Post by miles »

Hi.
I tried all the steps but something is going wrong.
I have a WDTV Live.
Other transconding works.
With this one, instead, I have this strange behaviour.
If I test the transcoding from WMS, it apparently works (a dos windows is opened showing some kind of buffering.)
If instead, from my WDTV I go to -> Movies -> Transcoding ->Podcast->First_Folder_in_the_list (in my case The Secret World) and click on the movie, aprogress bar appear but, after this, the screen remains blank.
Something maybe I do wrong is that when you say to answer "No" at step 9, I instead clicked Yes and then Cancelled the operation.
Any help?
Thanks anyway for the excellent program and for the trick in this page.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Gametrailers.com

Post by Eugene »

Hi,
miles wrote: I tried all the steps but something is going wrong.
I have a WDTV Live.
Other transconding works.
With this one, instead, I have this strange behaviour.
If I test the transcoding from WMS, it apparently works (a dos windows is opened showing some kind of buffering.)
If instead, from my WDTV I go to -> Movies -> Transcoding ->Podcast->First_Folder_in_the_list (in my case The Secret World) and click on the movie, aprogress bar appear but, after this, the screen remains blank.
Something maybe I do wrong is that when you say to answer "No" at step 9, I instead clicked Yes and then Cancelled the operation.
Any help?
Thanks anyway for the excellent program and for the trick in this page.
WDTV Lve buffers 10-15MB of content, the beginning is required to wait.
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Gametrailers.com

Post by Eugene »

http://www.wildmediaserver.com/forum/vi ... &f=3#p1484 - the possibility to download additional properties podcasts using scripts (button Script).

Script for loading thumbnails
Language: PascalScript

Code: Select all

var
  sImageLink: string;  
begin
  if PodcastXmlItem <> nil then begin
    sImageLink := PodcastXmlItem.ChildValues['exInfo:image'];    
    if sImageLink <> '' then
      PodcastItem.Properties[mpiThumbnail] := WmsDownloadThumbnail(sImageLink)  
  end
end.
zerop
Posts: 14
Joined: Thu Apr 08, 2010 7:43 pm

Re: Gametrailers.com

Post by zerop »

Please !! please !! help me set your good script for see the videos on my ps3 !!

i have set your istructions on my wild media server but on my ps3 can see the name of video but ever and ever ps3 tell me: broken data.
also youtube podcasts.

the wild media server it's fantastic.
please.. help me to set gametrailers videos and youtube videos !
thanks !!!!
manek
Posts: 5
Joined: Mon Mar 22, 2010 6:46 pm

Re: Gametrailers.com

Post by manek »

Hi Eugene

After upgrade to v0.73.4 my Gametrailers script doesn't work any longer, transcoding test doesn't open console window. However, if I mark any gametrailers podcast, go to transode/profiles, open script for editing and try to execute it then it works perfect (transcode windows apperars and I can see that it works).

Could you give me any advice how to change script to make it work again.

thanks in advance
Manek
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Gametrailers.com

Post by Eugene »

Hi,
manek wrote: After upgrade to v0.73.4 my Gametrailers script doesn't work any longer, transcoding test doesn't open console window. However, if I mark any gametrailers podcast, go to transode/profiles, open script for editing and try to execute it then it works perfect (transcode windows apperars and I can see that it works).

Could you give me any advice how to change script to make it work again.
Sorry :(

Code: Select all

  if (Pos('\\\\.\\pipe', InputFileName) > 0)     
  {  
    TFileStream fs = TFileStream.Create(InputFileName, fmCreate);
    fs.Free;
  }   
  sPage = WmsDownloadURL(mpFilePath);   
or better to make a script in the properties of the podcast "Script for links to the resource"

Code: Select all

//**********************************
//** Gametrailers links extractor **
//**      by manek for WMS      **
//**********************************
  
{
  MediaResourceLink = '';
  string sFileName, sPage, sLink_number, sLink, sTranscoderParams; 
  int iStart; 

  sPage = WmsDownloadURL(mpFilePath);   
  if (Pos("http://www.gametrailers.com/download/", sPage) != 0)  
   {   
    //1. get link number
    
     iStart = Pos("var mov_game_id =", sPage);
    
     sLink_number = Copy(sPage, iStart, 30);
     sLink_number = ExtractWord(4, sLink_number, " ;");      

     // 2. get link to the file
   
     iStart = Pos("http://www.gametrailers.com/download/", sPage);     
     sFileName = Copy(sPage, iStart, 150); 
     sFileName = ExtractWord(5, sFileName, "\/\"");       

     // 3. create correct link      
     
     MediaResourceLink = "http://trailers-ll.gametrailers.com/gt_vault/" + sLink_number + "/" + sFilename;     
   } 
}
Clear transcoding profile
manek
Posts: 5
Joined: Mon Mar 22, 2010 6:46 pm

Re: Gametrailers.com

Post by manek »

thanks :)

manek
moqwai
Posts: 13
Joined: Mon Jun 21, 2010 2:52 pm

Re: Gametrailers.com

Post by moqwai »

Hi,

i'm having a problem with the gametrailers-podcast. The sections "feature" and "gameplay" are not working properly. Test transcoding gives me "error -2 occurred" and the url is not showing (first line usuallly: "c:/programs/...../wmsmpeg.exe" -i "http://trailers...", but in "feature" and "gameplay": :"c:/programs/...../wmsmpeg.exe" -i "", so, no url is existing).

The links in the main window are correct and working properly, even at editing the podcast in the link-section.
Tried different platforms (PS3, XBOX360, PS2, Wii). Only PC-section works.

Some ideas?

Thanks in advance

WMS-version 1.0.3
Post Reply