Skip to content

Commit

Permalink
Try to fix LG browsing. Works on Panasonic TV. Need testing on other
Browse files Browse the repository at this point in the history
renderers.
  • Loading branch information
valib committed Sep 27, 2014
1 parent 684bd45 commit 5013559
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/main/external-resources/renderers/LG-LA6200.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ AutoExifRotate=true
#Supported = f:jps m:image/jps
#Supported = f:mpo m:image/mpo

NotAggressiveBrowsing=true
1 change: 0 additions & 1 deletion src/main/external-resources/renderers/LG-LA644V.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ AutoExifRotate=true
#Supported = f:jps m:image/jps
#Supported = f:mpo m:image/mpo

NotAggressiveBrowsing=true
1 change: 0 additions & 1 deletion src/main/external-resources/renderers/LG-LM620.conf
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@ Supported = f:wma n:2 m:audio/x-ms-wma
# Supported image formats:
Supported = f:jpg m:image/jpeg

NotAggressiveBrowsing=true
1 change: 0 additions & 1 deletion src/main/external-resources/renderers/LGST600.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ Supported = f:png m:image/png
Supported = f:gif m:image/gif
Supported = f:tiff m:image/tiff

NotAggressiveBrowsing=true
4 changes: 1 addition & 3 deletions src/main/java/net/pms/network/RequestV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,7 @@ public ChannelFuture answer(
response.append(HTTPXMLHelper.RESULT_HEADER);
response.append(HTTPXMLHelper.DIDL_HEADER);

boolean browseDirectChildren = browseFlag != null &&
browseFlag.equals("BrowseDirectChildren") &&
(!mediaRenderer.notAggressiveBrowsing() || objectID.equals("0"));
boolean browseDirectChildren = browseFlag != null && browseFlag.equals("BrowseDirectChildren");

if (soapaction != null && soapaction.contains("ContentDirectory:1#Search")) {
browseDirectChildren = true;
Expand Down

0 comments on commit 5013559

Please sign in to comment.