All responses should be in XML format, we don't do JSON at the moment. Is there any particular command that you think is not working?
It's not that I think it's not working, it's just not doing what I'd like it to
For instance -
If I call the following url
http://192.168.2.101:52199/MCWS/v1/Playlist/Files?Playlist=46487519&PlaylistType=ID&Action=mpl&ActiveFile=-1&Zone=-1&ZoneType=ID&Token=[token]
from the url bar, I get an mpl(xml) file download.
If I call the same URL using curl from within a php file, I get the following:
262136 209612 2017-5-29, 9:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.3958333332993789 262137 209612 2017-5-29, 10:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.4375 262138 209612 2017-5-29, 11:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.4791666666278616 262139 209612 2017-5-29, 12:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.5208333332921029 262140 209612 2017-5-29, 13:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.5625 262141 209612 2017-5-29, 14:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.6041666666205856 262142 209612 2017-5-29, 15:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.645833333284827 262143 209612 2017-5-29, 16:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.6875 262144 209612 2017-5-29, 17:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.7291666666133096 262145 209612 2017-5-29, 18:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.770833333277551 262146 209612 2017-5-29, 19:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.8125 262147 209612 2017-5-29, 20:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.8541666666060337 262148 209612 2017-5-29, 21:30:0.tvgd Program info not available 3600 TV 1494854230 209612 42884.895833333270275 262149 209612 2017-5-29, 22:30:0.tvgd Program info not available 1800 TV 1494854230 209612 42884.9375 262150 209613 2017-5-22, 0:0:0.tvgd Series 2017: Episode 15 Other 41132 http://images.icetv.com.au/0ecb-9902-4bd0-a0c9.jpg 3600 TV SDTV G Pip Courtney & a team of Landline reporters around the country bring you up to date with the issues affecting rural & regional Australia. From farming, agriculture, food, economics, innovation, climate, infrastructure & more. TV Show Australia English 1494854230 G 16:9 Landline 2017 15 209613 42877 1 34112-251106 281571 262151 209613 2017-5-28, 20:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42883.8541666666642413 262152 209613 2017-5-28, 21:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42883.8958333333284827 262153 209613 2017-5-28, 22:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42883.9375 262154 209613 2017-5-28, 23:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42883.9791666666569654 262155 209613 2017-5-29, 0:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.0208333333212067 262156 209613 2017-5-29, 1:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.0625 262157 209613 2017-5-29, 2:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.1041666666496894 262158 209613 2017-5-29, 3:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.1458333333139308 262159 209613 2017-5-29, 4:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.1875 262160 209613 2017-5-29, 5:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.2291666666424135 262161 209613 2017-5-29, 6:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.2708333333066548 262162 209613 2017-5-29, 7:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.3125 262163 209613 2017-5-29, 8:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.3541666666351375 262164 209613 2017-5-29, 9:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.3958333332993789 262165 209613 2017-5-29, 10:30:0.tvgd Program info not available 3600 TV 1494854230 209613 42884.4375
Which is the same data, just without the xml tags, or any separators (e.g ";").
So I suppose my questions are 1. Is this what is supposed to happen? and 2. Is there a way I can get the xml tags