[dvblast-devel] [PATCH] channel_status command
Pierre Gronlier
pierre.gronlier at gmail.com
Thu Mar 18 10:24:57 CET 2010
Hello,
I was using mumudvb but due to cam issues
(http://www.mail-archive.com/linux-media@vger.kernel.org/msg15746.html),
I'm switching to dvblast which has its own en50221 implementation.
I wrote this patch in order to add a new dvblastctl command: channels_status.
This command lists the current channels being streamed plus some
additional informations.
For example:
$ ./dvblastctl -r /tmp/control0 channels_status
[{"name": "MTV PULSE", "provider": "MTV Networks Europe", "sid":
28674, "addr": "239.1.3.3:1234", "fta": 1, "status" : 4},{"name": "MTV
IDOL", "provider": "MTV Networks Europe", "sid": 28675, "addr":
"239.1.3.4:1234", "fta": 1, "status" : 4}]
$
I choose to output the data in json format so it can be easily parsed
by any json lib (python, perl, php, ...)
(http://json.parser.online.fr/)
It is possible to include this path to the dvblast repository ?
If no, what should I change ?
Best Regards,
--
Pierre Gronlier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: channels_status.diff
Type: text/x-patch
Size: 7738 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20100318/6cb555be/attachment.bin>
More information about the dvblast-devel
mailing list