#176: DLNA & Upnp support

Support forum for minisatip
catalinii
Posts: 0
Joined: Wed Nov 18, 2015 5:41 am

Post by catalinii » Thu Jan 01, 1970 12:00 am

Hi tmn505,

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

Thanks

tmn505

Post by tmn505 » Thu Jan 01, 1970 12:00 am

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.

9000h
Posts: 68
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h » Thu Jan 01, 1970 12:00 am

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;
}
```

tmn505

Post by tmn505 » Thu Jan 01, 1970 12:00 am

Thanks, with that it works as desired.

catalinii
Posts: 0
Joined: Wed Nov 18, 2015 5:41 am

Post by catalinii » Thu Jan 01, 1970 12:00 am

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

9000h
Posts: 68
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h » Thu Jan 01, 1970 12:00 am

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 )

lars18th

Post by lars18th » Thu Jan 01, 1970 12:00 am

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.

9000h
Posts: 68
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h » Thu Jan 01, 1970 12:00 am

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

ovidiu31

Post by ovidiu31 » Thu Jan 01, 1970 12:00 am

@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

9000h
Posts: 68
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h » Thu Jan 01, 1970 12:00 am

you need to install the uuid-dev package also

Post Reply