Permalink
Browse files

Replacement token consistency.

  • Loading branch information...
1 parent 6da3eb3 commit 6298150925bd8a6981e5d8e939cd3d5b3efd662a @Raptor399 Raptor399 committed May 2, 2012
@@ -340,7 +340,7 @@ public void answer(OutputStream output, StartStopListenerDelegate startStopListe
byte b[] = new byte[inputStream.available()];
inputStream.read(b);
String s = new String(b);
- s = s.replace("uuid:1234567890TOTO", PMS.get().usn());//.substring(0, PMS.get().usn().length()-2));
+ s = s.replace("[uuid]", PMS.get().usn());//.substring(0, PMS.get().usn().length()-2));
s = s.replace("[host]", PMS.get().getServer().getHost());
s = s.replace("[port]", "" + PMS.get().getServer().getPort());
if (xbox) {
@@ -443,7 +443,7 @@ public ChannelFuture answer(
byte b[] = new byte[inputStream.available()];
inputStream.read(b);
String s = new String(b);
- s = s.replace("uuid:1234567890TOTO", PMS.get().usn());//.substring(0, PMS.get().usn().length()-2));
+ s = s.replace("[uuid]", PMS.get().usn());//.substring(0, PMS.get().usn().length()-2));
String profileName = PMS.getConfiguration().getProfileName();
if (PMS.get().getServer().getHost() != null) {
s = s.replace("[host]", PMS.get().getServer().getHost());
@@ -18,7 +18,7 @@
<modelURL>http://ps3mediaserver.blogspot.com</modelURL>
<serialNumber/>
<UPC/>
- <UDN>uuid:1234567890TOTO</UDN>
+ <UDN>[uuid]</UDN>
<iconList>
<icon>
<mimetype>image/png</mimetype>

0 comments on commit 6298150

Please sign in to comment.