Page 3 of 4

Posted: Thu Jan 01, 1970 12:00 am
by catalinii
Hi tmn505,

Does it work if you remove the first 2 lines from the file?

Thanks

Posted: Thu Jan 01, 1970 12:00 am
by tmn505
I didnt explain it properly. The minisatip itself adds these lines to the beginning of m3u file:

Server: minisatip/0.3.74
Content-Length: 98
And without those lines it works properly. Try to place Your m3u file in html directory of minisatip and download it with wget or curl. Then review the content of downloaded m3u, Youll see the two lines I mentioned, at the beginning of this file.

Posted: Thu Jan 01, 1970 12:00 am
by 9000h
should fix this
```
--- utils.c.orig 2015-10-15 17:40:42.982888447 +0200
+++ utils.c 2015-10-15 17:46:05.339243901 +0200
@@ -867,6 +867,8 @@
strcpy(ctype, CACHE-CONTROL: no-cache
Content-type: text/html);
else if (endswith(fn, xml))
strcpy(ctype, CACHE-CONTROL: no-cache
Content-type: text/xml);
+ else if (endswith(fn, m3u))
+ strcpy(ctype, CACHE-CONTROL: no-cache
Content-type: video/x-mpegurl);
}
return mem;
}
```

Posted: Thu Jan 01, 1970 12:00 am
by tmn505
Thanks, with that it works as desired.

Posted: Thu Jan 01, 1970 12:00 am
by catalinii
As the solution ith xupnpd works pretty good, I do not think there is a reason to implement this...

Please let me know if you need additional help on any issues to have this integrate better with other tools.

Thanks

Posted: Thu Jan 01, 1970 12:00 am
by 9000h
the new VLC 3.0.0 nightly has support for SAT>IP in and will use a play-list from www.satip.info if no one is provided (Astra 19.2 only )

Posted: Thu Jan 01, 1970 12:00 am
by lars18th
Hi @9000h ,

> the new VLC 3.0.0 nightly has support for SAT>IP

To be more specific: VLC 3.0.0 includes support for parsing UPnP XML announcements from SAT>IP servers with support for M3U filelists.

Then I suggest to write a HowTo for mix minisatip+xupnp for VLC support.

Moreover, I dont know if the VLC 3 will support RTSP transport or only HTTP transport.

Posted: Thu Jan 01, 1970 12:00 am
by 9000h
the m3u VLC provides in case of there is no one from the server is (http://www.satip.info/Playlists/ASTRA_19_2E.m3u) and RTSP is used

Posted: Thu Jan 01, 1970 12:00 am
by ovidiu31
@lars18th
getting compiling errors in centos (in ubuntu compiles just fine) Lars
D_FILE_OFFSET_BITS=64 -o xupnpd main.cpp soap.cpp mem.cpp mcast.cpp luaxlib.cpp luaxcore.cpp luajson.cpp luajson_parser.cpp md5.o -llua -ldl -lm -luuid
mcast.cpp:15:23: fatal error: uuid/uuid.h: No such file or directory
#include

Posted: Thu Jan 01, 1970 12:00 am
by 9000h
you need to install the uuid-dev package also