Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming audio and video online. Audio and video downloads. > Playing online streaming in media players
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-24-2011, 09:04 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Zapni.TV: make batch file with Zapni.TV channels for opening in VLC


Hello I would like to know how to make a php script for Zapni.tv channels. They use http for streaming with tickets. Here is an example: _www.zapni.tv/play.php?id=240 . My purpose is to make a batchfile with those channels.

I tried with that but it's not opening VLC in batchfile.

Quote:
<?php

$ch = curl_init("http://www.zapni.tv/play.php?id=240");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$page = curl_exec($ch);

preg_match_all('/(http):\/\/(www\.zapni\.tv\/stream\/vlc\.php)\?(.*)/', $page, $matches);

foreach($matches[0] as $v)
{
echo strip_tags($v) . "<br />";
}



?>
Thanks for help.

Last edited by karlo2105 : 10-24-2011 at 09:35 AM.
Reply With Quote
 
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:45 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons