Changeset 190
- Timestamp:
- 07/13/11 00:54:44 (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog.txt
r187 r190 16 16 - Fixed: Closing of old sessions (on new login) wasn't working for ExtNewcamd. 17 17 - Fixed: Debug mode for the "*" pseudo profile (Csp, ExtNewcamd) couldn't be turned off via config (attribute ignored). 18 - Fixed: Using manual service mapping (can-decode list) for one connector would affect discovery of the listed services 19 for other connectors in the same profile. 18 20 - Fixed: Removing a profile from a user that had used csp-connect had no effect, as it remained locally cached at the 19 21 client proxy, and no mechanism existed for removing it or blocking the now disallowed requests. … … 42 44 Added: Attribute 'allow-different-ip' to <user-manager>, allows newcamd connections from different ip sources 43 45 for the same user. 46 Added: Element <hide-radio-services> to <mapper> (true/false, default: true). Show/hide radio services in web/xml api. 44 47 45 48 - Changes to the http/xml api: -
trunk/config/proxy-reference.html
r179 r190 173 173 <li><a href="#connection-manager/service-map/mapper/retry-lost-services">mapper/retry-lost-services</a></li> 174 174 <li><a href="#connection-manager/service-map/mapper/hide-unknown-services">mapper/hide-unknown-services</a></li> 175 <li><a href="#connection-manager/service-map/mapper/hide-radio-services">mapper/hide-radio-services</a></li> 175 176 <li><a href="#connection-manager/service-map/mapper/hide-disabled-connectors">mapper/hide-disabled-connectors</a></li> 176 177 </ul> … … 1025 1026 </a> 1026 1027 1028 <a name="connection-manager/service-map/mapper/hide-radio-services"> 1029 <div class='indent'>connection-manager/service-map/mapper/hide-radio-services</div><br /> 1030 true/false (default: true). Hide services with type radio from the query api and hence the status web (was default in previous proxy versions, set to false if you want them displayed).<br /> 1031 <br /><strong>NOTE: </strong> Whether or not a service is radio is typically only known when using enigma services files, if not then this setting has no effect. 1032 <br /> 1033 </a> 1034 1027 1035 <a name="connection-manager/service-map/mapper/hide-disabled-connectors"> 1028 1036 <div class='indent'>connection-manager/service-map/mapper/hide-disabled-connectors</div><br /> -
trunk/src/com/bowman/cardserv/cws/CwsServiceMapper.java
r189 r190 42 42 43 43 private int autoExcludeThreshold; 44 private boolean autoDiscoverAll, retryLostServices, hideUnknownServices, hideDisabledConnectors ;44 private boolean autoDiscoverAll, retryLostServices, hideUnknownServices, hideDisabledConnectors, hideRadioServices; 45 45 private boolean logMissingSid, bcMissingSid, redundantForwarding; 46 46 … … 121 121 retryLostServices = "true".equalsIgnoreCase(xml.getStringValue("retry-lost-services", "true")); 122 122 hideUnknownServices = "true".equalsIgnoreCase(xml.getStringValue("hide-unknown-services", "false")); 123 hideRadioServices = "true".equalsIgnoreCase(xml.getStringValue("hide-radio-services", "true")); 123 124 hideDisabledConnectors = "true".equalsIgnoreCase(xml.getStringValue("hide-disabled-connectors", "false")); 124 125 … … 330 331 if(service == null) { 331 332 if(!hideUnknownServices) services.add(TvService.getUnknownService(profile.getName(), id.serviceId)); 332 } else if(service.isTv()) 333 } else if(service.isTv()) { 334 if(hideRadioServices && service.getType() == TvService.TYPE_RADIO) continue; 333 335 services.add(service); 334 336 } 337 } 335 338 } 336 339 }
Note:
See TracChangeset
for help on using the changeset viewer.