mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-05-26 06:20:20 -04:00
修BUG
This commit is contained in:
parent
d053b5a469
commit
356dd2c1b3
@ -19,15 +19,15 @@ public class Controller {
|
||||
public static String TAG = "DLNA控制";
|
||||
|
||||
public static void SetAVTransportURI(String controlUrl, String url, JfClient.JJCallBack cb) {
|
||||
url = url.substring(0,url.indexOf("stream.mp4")) + "stream.mp4";
|
||||
//url = url.substring(0,url.indexOf("stream.mp4")) + "stream.mp4";
|
||||
//Log.d(TAG, "SetAVTransportURI: " + url);
|
||||
String xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
||||
"<s:Envelope s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\">" +
|
||||
"<s:Body>" +
|
||||
"<u:SetAVTransportURI xmlns:u=\"urn:schemas-upnp-org:service:AVTransport:1\">" +
|
||||
"<InstanceID>0</InstanceID>" +
|
||||
//"<CurrentURI><![CDATA[" + url + "]]></CurrentURI>" +
|
||||
"<CurrentURI>" + url + "</CurrentURI>" +
|
||||
"<CurrentURI><![CDATA[" + url + "]]></CurrentURI>" +
|
||||
//"<CurrentURI>" + url + "</CurrentURI>" +
|
||||
"<CurrentURIMetaData></CurrentURIMetaData>" +
|
||||
"</u:SetAVTransportURI>" +
|
||||
"</s:Body></s:Envelope>";
|
||||
|
Loading…
Reference in New Issue
Block a user