22
© 2016 VBrick Systems, Inc.
Updating channels.xml
There are basically two ways to change the
channels.xml
file. First, if you have created a valid
channels.xml
file and placed it onto an accessible FTP server, you can go to the STB and
wget
the file from the FTP server. Second, you can Telnet into the box and edit the text file in
place using vi.
Using wget
This method requires an FTP server. You can start by editing
channels.xml
file, creating the
desired list of channels, and saving it as
my_channels.xml
. Then FTP the file to the VEMS
Portal Server for example, or to another FTP server.
To
wget
the file from an FTP server:
1. Telnet or SSH into the STB. When logging in, the user name is
iptv
; the password is
settopbox
.
# cd /root/data
# mv channels.xml YYYYMMDDchannels.xml
(to rename file to today's date as a backup)
or
# rm channels.xml
(to simply delete the existing channels.xml file)
# wget ftp://<portal_server_ip_address>/My_channels.xml
# mv My_channels.xml channels.xml
# sync ; sleep 2 ; reboot
Using vi
This method explains how to edit the
channels.xml
file directly on the set top box using vi (a
screen-based Unix editor). For a list of vi commands go to http://www.cs.colostate.edu/
helpdocs/vi.html.
To edit the file in place with vi:
1. Telnet or SSH into the STB. When logging in, the user name is
iptv
; the password is
settopbox
).
H.264 TS RTSP
rtsp://172.22.128.1/vbStream1S2
(where
vbStream1S2
points to TS)
H.264 SDP RTP
(multicast or unicast)
http://172.22.123.116/vbStream1S1.sdp
H.264 VOD-W TS RTSP
rtsp://172.22.2.119/CD-H264.mpg
H.264 VOD-W RTP RTSP
rtsp://172.22.2.119/Bob-H264-RTP.mp4
Window Media RTSPU
rtspu://172.22.2.171/vbrickvideo1
Window Media HTTP
http://172.22.2.171:8080/vbrickvideo1
Window Media Multicast NSC
mcast://172.22.2.171/vbs1multi.nsc
Window Media VOD-WM RTSPT
rtspt://172.17.2.44/PublishingPoint34
Window Media VOD-WM RTSPU
rtspu://172.17.2.44/PublishingPoint34
Window Media VOD-WM HTTP
http://172.17.2.44/VBP/bobWM-LAN-1M.wmv
MPEG2 or H.264 Transport
Stream file playback
httptv://172.16.2.204/mpeg2test.mpg