expectingtofly wrote: 
> Sure,
> Just do this :
> > 
Code:
--------------------
  >   > 
  > $entry->{'url'} =~ s/redir/select/ig;
  > 
--------------------
> > 
> 
> and leave out this bit :
> > 
Code:
--------------------
  >   > 
  > 
  > my $_find = "audio-syndication/proto/http";
  > my $_replace = "pc";
  > $_find = quotemeta $_find;
  > $entry->{'url'} =~ s/$_find/$_replace/g;
  > 
--------------------
> > 
> 
Tried this, but no work tonight.
In summary, I removed the lines

Code:
--------------------
    
  if ($entry->{'url'} =~ 
/http:\/\/www\.bbc\.co\.uk\/mediaselector\/4\/mtis\/stream\/(.*)/) {
                        $entry->{'url'} = 
"http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/$1";;
  
--------------------

and immediately after added the line

Code:
--------------------
    
  $entry->{'url'} =~ s/redir/select/ig;
  
--------------------


Anything else required?  It was working ok on Sunday, so presume any
other changes had already been done (menu.opml etc.)


------------------------------------------------------------------------
yeomanspc's Profile: http://forums.slimdevices.com/member.php?userid=249
View this thread: http://forums.slimdevices.com/showthread.php?t=53229

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to