mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-06-03 00:58:06 -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 String TAG = "DLNA控制";
|
||||||
|
|
||||||
public static void SetAVTransportURI(String controlUrl, String url, JfClient.JJCallBack cb) {
|
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);
|
//Log.d(TAG, "SetAVTransportURI: " + url);
|
||||||
String xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
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:Envelope s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\">" +
|
||||||
"<s:Body>" +
|
"<s:Body>" +
|
||||||
"<u:SetAVTransportURI xmlns:u=\"urn:schemas-upnp-org:service:AVTransport:1\">" +
|
"<u:SetAVTransportURI xmlns:u=\"urn:schemas-upnp-org:service:AVTransport:1\">" +
|
||||||
"<InstanceID>0</InstanceID>" +
|
"<InstanceID>0</InstanceID>" +
|
||||||
//"<CurrentURI><![CDATA[" + url + "]]></CurrentURI>" +
|
"<CurrentURI><![CDATA[" + url + "]]></CurrentURI>" +
|
||||||
"<CurrentURI>" + url + "</CurrentURI>" +
|
//"<CurrentURI>" + url + "</CurrentURI>" +
|
||||||
"<CurrentURIMetaData></CurrentURIMetaData>" +
|
"<CurrentURIMetaData></CurrentURIMetaData>" +
|
||||||
"</u:SetAVTransportURI>" +
|
"</u:SetAVTransportURI>" +
|
||||||
"</s:Body></s:Envelope>";
|
"</s:Body></s:Envelope>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user