Skip to content
This repository
Browse code

Remove LCDproc support from XBMC core

  • Loading branch information...
commit c0b4df4b6b4835af7aa24547ad12d7eeb623dbf9 1 parent b9f5cb3
Daniel Scheller authored November 18, 2012
18  XBMC-ATV2.xcodeproj/project.pbxproj
@@ -231,8 +231,6 @@
231 231
 		DFBE7FFD15F7D1A100D7D102 /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFBE7FFA15F7D1A100D7D102 /* PltProtocolInfo.cpp */; };
232 232
 		DFBE7FFF15F7D1B900D7D102 /* NptAppleAutoreleasePool.mm in Sources */ = {isa = PBXBuildFile; fileRef = DFBE7FFE15F7D1B900D7D102 /* NptAppleAutoreleasePool.mm */; };
233 233
 		DFBE800215F7D1EE00D7D102 /* NptCocoaEnviroment.mm in Sources */ = {isa = PBXBuildFile; fileRef = DFBE800115F7D1EE00D7D102 /* NptCocoaEnviroment.mm */; };
234  
-		DFC0F8F51613A1960066D598 /* XLCDproc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC0F8F31613A1960066D598 /* XLCDproc.cpp */; };
235  
-		DFC0F91C1613A3A00066D598 /* LCDFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC0F91A1613A3A00066D598 /* LCDFactory.cpp */; };
236 234
 		DFC5393A1526659D00D5FD5C /* AppIcon.png in Resources */ = {isa = PBXBuildFile; fileRef = DFC539391526659D00D5FD5C /* AppIcon.png */; };
237 235
 		DFCA6B0C15224684000BFAAE /* HTTPJsonRpcHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6B0015224684000BFAAE /* HTTPJsonRpcHandler.cpp */; };
238 236
 		DFCA6B0D15224684000BFAAE /* HTTPVfsHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6B0215224684000BFAAE /* HTTPVfsHandler.cpp */; };
@@ -815,7 +813,6 @@
815 813
 		F56C7B2C131EC155000AD0F6 /* InfoLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C7741131EC154000AD0F6 /* InfoLoader.cpp */; };
816 814
 		F56C7B2D131EC155000AD0F6 /* LabelFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C7743131EC154000AD0F6 /* LabelFormatter.cpp */; };
817 815
 		F56C7B2E131EC155000AD0F6 /* JobManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C7745131EC154000AD0F6 /* JobManager.cpp */; };
818  
-		F56C7B2F131EC155000AD0F6 /* LCD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C7748131EC154000AD0F6 /* LCD.cpp */; };
819 816
 		F56C7B30131EC155000AD0F6 /* log.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C774A131EC154000AD0F6 /* log.cpp */; };
820 817
 		F56C7B31131EC155000AD0F6 /* md5.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C774C131EC154000AD0F6 /* md5.cpp */; };
821 818
 		F56C7B34131EC155000AD0F6 /* PerformanceSample.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C7752131EC154000AD0F6 /* PerformanceSample.cpp */; };
@@ -1495,10 +1492,6 @@
1495 1492
 		DFBE800015F7D1D100D7D102 /* NptAutoreleasePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NptAutoreleasePool.h; path = lib/libUPnP/Neptune/Source/Core/NptAutoreleasePool.h; sourceTree = SOURCE_ROOT; };
1496 1493
 		DFBE800115F7D1EE00D7D102 /* NptCocoaEnviroment.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = NptCocoaEnviroment.mm; path = lib/libUPnP/Neptune/Source/System/Cocoa/NptCocoaEnviroment.mm; sourceTree = SOURCE_ROOT; };
1497 1494
 		DFBE800C15F7D2B000D7D102 /* PltUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltUtilities.h; sourceTree = "<group>"; };
1498  
-		DFC0F8F31613A1960066D598 /* XLCDproc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XLCDproc.cpp; sourceTree = "<group>"; };
1499  
-		DFC0F8F41613A1960066D598 /* XLCDproc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XLCDproc.h; sourceTree = "<group>"; };
1500  
-		DFC0F91A1613A3A00066D598 /* LCDFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LCDFactory.cpp; sourceTree = "<group>"; };
1501  
-		DFC0F91B1613A3A00066D598 /* LCDFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LCDFactory.h; sourceTree = "<group>"; };
1502 1495
 		DFC539391526659D00D5FD5C /* AppIcon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AppIcon.png; path = media/AppIcon.png; sourceTree = "<group>"; };
1503 1496
 		DFCA6B0015224684000BFAAE /* HTTPJsonRpcHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTTPJsonRpcHandler.cpp; sourceTree = "<group>"; };
1504 1497
 		DFCA6B0115224684000BFAAE /* HTTPJsonRpcHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTTPJsonRpcHandler.h; sourceTree = "<group>"; };
@@ -2802,8 +2795,6 @@
2802 2795
 		F56C7745131EC154000AD0F6 /* JobManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JobManager.cpp; sourceTree = "<group>"; };
2803 2796
 		F56C7746131EC154000AD0F6 /* JobManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JobManager.h; sourceTree = "<group>"; };
2804 2797
 		F56C7747131EC154000AD0F6 /* Job.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Job.h; sourceTree = "<group>"; };
2805  
-		F56C7748131EC154000AD0F6 /* LCD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LCD.cpp; sourceTree = "<group>"; };
2806  
-		F56C7749131EC154000AD0F6 /* LCD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LCD.h; sourceTree = "<group>"; };
2807 2798
 		F56C774A131EC154000AD0F6 /* log.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log.cpp; sourceTree = "<group>"; };
2808 2799
 		F56C774B131EC154000AD0F6 /* log.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = log.h; sourceTree = "<group>"; };
2809 2800
 		F56C774C131EC154000AD0F6 /* md5.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = md5.cpp; sourceTree = "<group>"; };
@@ -5281,8 +5272,6 @@
5281 5272
 				F56C75BA131EC153000AD0F6 /* XFileUtils.h */,
5282 5273
 				F56C75BB131EC153000AD0F6 /* XHandle.cpp */,
5283 5274
 				F56C75BC131EC153000AD0F6 /* XHandle.h */,
5284  
-				DFC0F8F31613A1960066D598 /* XLCDproc.cpp */,
5285  
-				DFC0F8F41613A1960066D598 /* XLCDproc.h */,
5286 5275
 				F56C75BD131EC153000AD0F6 /* XMemUtils.cpp */,
5287 5276
 				F56C75BE131EC153000AD0F6 /* XMemUtils.h */,
5288 5277
 				F56C75C3131EC153000AD0F6 /* XTimeUtils.cpp */,
@@ -5804,10 +5793,6 @@
5804 5793
 				F56C7744131EC154000AD0F6 /* LabelFormatter.h */,
5805 5794
 				F56C771D131EC154000AD0F6 /* LangCodeExpander.cpp */,
5806 5795
 				F56C771E131EC154000AD0F6 /* LangCodeExpander.h */,
5807  
-				F56C7748131EC154000AD0F6 /* LCD.cpp */,
5808  
-				F56C7749131EC154000AD0F6 /* LCD.h */,
5809  
-				DFC0F91A1613A3A00066D598 /* LCDFactory.cpp */,
5810  
-				DFC0F91B1613A3A00066D598 /* LCDFactory.h */,
5811 5796
 				F56C774A131EC154000AD0F6 /* log.cpp */,
5812 5797
 				F56C774B131EC154000AD0F6 /* log.h */,
5813 5798
 				F56C770F131EC153000AD0F6 /* MathUtils.h */,
@@ -7239,7 +7224,6 @@
7239 7224
 				F56C7B2C131EC155000AD0F6 /* InfoLoader.cpp in Sources */,
7240 7225
 				F56C7B2D131EC155000AD0F6 /* LabelFormatter.cpp in Sources */,
7241 7226
 				F56C7B2E131EC155000AD0F6 /* JobManager.cpp in Sources */,
7242  
-				F56C7B2F131EC155000AD0F6 /* LCD.cpp in Sources */,
7243 7227
 				F56C7B30131EC155000AD0F6 /* log.cpp in Sources */,
7244 7228
 				F56C7B31131EC155000AD0F6 /* md5.cpp in Sources */,
7245 7229
 				F56C7B34131EC155000AD0F6 /* PerformanceSample.cpp in Sources */,
@@ -7620,8 +7604,6 @@
7620 7604
 				DF23461315FA671900A934F6 /* UPnPServer.cpp in Sources */,
7621 7605
 				DFAB4C0F15FCCB4300E1BAF6 /* TagLibVFSStream.cpp in Sources */,
7622 7606
 				DFAB4C1015FCCB4300E1BAF6 /* TagLoaderTagLib.cpp in Sources */,
7623  
-				DFC0F8F51613A1960066D598 /* XLCDproc.cpp in Sources */,
7624  
-				DFC0F91C1613A3A00066D598 /* LCDFactory.cpp in Sources */,
7625 7607
 				DFA0F9551618E1CD00611CBB /* DVDOverlayCodec.cpp in Sources */,
7626 7608
 				DF91D899161B759B004E6637 /* AddonsOperations.cpp in Sources */,
7627 7609
 				7C4458DB161E209100A905F6 /* Screenshot.cpp in Sources */,
18  XBMC-IOS.xcodeproj/project.pbxproj
@@ -229,8 +229,6 @@
229 229
 		DFBE7F4615F7CCBD00D7D102 /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFBE7F2715F7CCBD00D7D102 /* PltRingBufferStream.cpp */; };
230 230
 		DFBE7F4715F7CCBD00D7D102 /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFBE7F2915F7CCBD00D7D102 /* PltStreamPump.cpp */; };
231 231
 		DFBE7F5E15F7CE8200D7D102 /* NptFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFBE7F5C15F7CE8200D7D102 /* NptFile.cpp */; };
232  
-		DFC0F8E71613A16F0066D598 /* XLCDproc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC0F8E51613A16F0066D598 /* XLCDproc.cpp */; };
233  
-		DFC0F90F1613A3810066D598 /* LCDFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC0F90D1613A3810066D598 /* LCDFactory.cpp */; };
234 232
 		DFC3867E158296EC008AE277 /* Exception.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC3867C158296EC008AE277 /* Exception.cpp */; };
235 233
 		DFCA6AEC15224671000BFAAE /* HTTPJsonRpcHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6AE015224671000BFAAE /* HTTPJsonRpcHandler.cpp */; };
236 234
 		DFCA6AED15224671000BFAAE /* HTTPVfsHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6AE215224671000BFAAE /* HTTPVfsHandler.cpp */; };
@@ -904,7 +902,6 @@
904 902
 		F56C8B1B131F42ED000AD0F6 /* InfoLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C8730131F42EC000AD0F6 /* InfoLoader.cpp */; };
905 903
 		F56C8B1C131F42ED000AD0F6 /* LabelFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C8732131F42EC000AD0F6 /* LabelFormatter.cpp */; };
906 904
 		F56C8B1D131F42ED000AD0F6 /* JobManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C8734131F42EC000AD0F6 /* JobManager.cpp */; };
907  
-		F56C8B1E131F42ED000AD0F6 /* LCD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C8737131F42EC000AD0F6 /* LCD.cpp */; };
908 905
 		F56C8B1F131F42ED000AD0F6 /* log.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C8739131F42EC000AD0F6 /* log.cpp */; };
909 906
 		F56C8B20131F42ED000AD0F6 /* md5.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C873B131F42EC000AD0F6 /* md5.cpp */; };
910 907
 		F56C8B23131F42ED000AD0F6 /* PerformanceSample.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F56C8741131F42EC000AD0F6 /* PerformanceSample.cpp */; };
@@ -1495,10 +1492,6 @@
1495 1492
 		DFBE7F2A15F7CCBD00D7D102 /* PltStreamPump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltStreamPump.h; sourceTree = "<group>"; };
1496 1493
 		DFBE7F5C15F7CE8200D7D102 /* NptFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NptFile.cpp; path = lib/libUPnP/Neptune/Source/Core/NptFile.cpp; sourceTree = SOURCE_ROOT; };
1497 1494
 		DFBE7F5D15F7CE8200D7D102 /* NptFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NptFile.h; path = lib/libUPnP/Neptune/Source/Core/NptFile.h; sourceTree = SOURCE_ROOT; };
1498  
-		DFC0F8E51613A16F0066D598 /* XLCDproc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XLCDproc.cpp; sourceTree = "<group>"; };
1499  
-		DFC0F8E61613A16F0066D598 /* XLCDproc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XLCDproc.h; sourceTree = "<group>"; };
1500  
-		DFC0F90D1613A3810066D598 /* LCDFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LCDFactory.cpp; sourceTree = "<group>"; };
1501  
-		DFC0F90E1613A3810066D598 /* LCDFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LCDFactory.h; sourceTree = "<group>"; };
1502 1495
 		DFC3867C158296EC008AE277 /* Exception.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Exception.cpp; sourceTree = "<group>"; };
1503 1496
 		DFC3867D158296EC008AE277 /* Exception.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Exception.h; sourceTree = "<group>"; };
1504 1497
 		DFCA6AE015224671000BFAAE /* HTTPJsonRpcHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTTPJsonRpcHandler.cpp; sourceTree = "<group>"; };
@@ -2995,8 +2988,6 @@
2995 2988
 		F56C8734131F42EC000AD0F6 /* JobManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JobManager.cpp; sourceTree = "<group>"; };
2996 2989
 		F56C8735131F42EC000AD0F6 /* JobManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JobManager.h; sourceTree = "<group>"; };
2997 2990
 		F56C8736131F42EC000AD0F6 /* Job.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Job.h; sourceTree = "<group>"; };
2998  
-		F56C8737131F42EC000AD0F6 /* LCD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LCD.cpp; sourceTree = "<group>"; };
2999  
-		F56C8738131F42EC000AD0F6 /* LCD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LCD.h; sourceTree = "<group>"; };
3000 2991
 		F56C8739131F42EC000AD0F6 /* log.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log.cpp; sourceTree = "<group>"; };
3001 2992
 		F56C873A131F42EC000AD0F6 /* log.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = log.h; sourceTree = "<group>"; };
3002 2993
 		F56C873B131F42EC000AD0F6 /* md5.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = md5.cpp; sourceTree = "<group>"; };
@@ -5641,8 +5632,6 @@
5641 5632
 				F56C859D131F42EA000AD0F6 /* XFileUtils.h */,
5642 5633
 				F56C859E131F42EA000AD0F6 /* XHandle.cpp */,
5643 5634
 				F56C859F131F42EA000AD0F6 /* XHandle.h */,
5644  
-				DFC0F8E51613A16F0066D598 /* XLCDproc.cpp */,
5645  
-				DFC0F8E61613A16F0066D598 /* XLCDproc.h */,
5646 5635
 				F56C85A0131F42EA000AD0F6 /* XMemUtils.cpp */,
5647 5636
 				F56C85A1131F42EA000AD0F6 /* XMemUtils.h */,
5648 5637
 				F56C85A6131F42EA000AD0F6 /* XTimeUtils.cpp */,
@@ -6173,10 +6162,6 @@
6173 6162
 				F56C8733131F42EC000AD0F6 /* LabelFormatter.h */,
6174 6163
 				F56C870C131F42EB000AD0F6 /* LangCodeExpander.cpp */,
6175 6164
 				F56C870D131F42EB000AD0F6 /* LangCodeExpander.h */,
6176  
-				F56C8737131F42EC000AD0F6 /* LCD.cpp */,
6177  
-				F56C8738131F42EC000AD0F6 /* LCD.h */,
6178  
-				DFC0F90D1613A3810066D598 /* LCDFactory.cpp */,
6179  
-				DFC0F90E1613A3810066D598 /* LCDFactory.h */,
6180 6165
 				F56C8739131F42EC000AD0F6 /* log.cpp */,
6181 6166
 				F56C873A131F42EC000AD0F6 /* log.h */,
6182 6167
 				F56C86FE131F42EB000AD0F6 /* MathUtils.h */,
@@ -7350,7 +7335,6 @@
7350 7335
 				F56C8B1B131F42ED000AD0F6 /* InfoLoader.cpp in Sources */,
7351 7336
 				F56C8B1C131F42ED000AD0F6 /* LabelFormatter.cpp in Sources */,
7352 7337
 				F56C8B1D131F42ED000AD0F6 /* JobManager.cpp in Sources */,
7353  
-				F56C8B1E131F42ED000AD0F6 /* LCD.cpp in Sources */,
7354 7338
 				F56C8B1F131F42ED000AD0F6 /* log.cpp in Sources */,
7355 7339
 				F56C8B20131F42ED000AD0F6 /* md5.cpp in Sources */,
7356 7340
 				F56C8B23131F42ED000AD0F6 /* PerformanceSample.cpp in Sources */,
@@ -7651,8 +7635,6 @@
7651 7635
 				DF23462515FA675200A934F6 /* UPnPServer.cpp in Sources */,
7652 7636
 				DFAB4BE615FCCA5000E1BAF6 /* TagLibVFSStream.cpp in Sources */,
7653 7637
 				DFAB4BE715FCCA5000E1BAF6 /* TagLoaderTagLib.cpp in Sources */,
7654  
-				DFC0F8E71613A16F0066D598 /* XLCDproc.cpp in Sources */,
7655  
-				DFC0F90F1613A3810066D598 /* LCDFactory.cpp in Sources */,
7656 7638
 				DFA0F9291618E18A00611CBB /* DVDOverlayCodec.cpp in Sources */,
7657 7639
 				DF91D88A161B7581004E6637 /* AddonsOperations.cpp in Sources */,
7658 7640
 				7C4458C8161E206100A905F6 /* Screenshot.cpp in Sources */,
18  XBMC.xcodeproj/project.pbxproj
@@ -492,8 +492,6 @@
492 492
 		DFB65FD415373AE7006B8FF1 /* AEWAVLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFB65FB315373AE7006B8FF1 /* AEWAVLoader.cpp */; };
493 493
 		DFB6610915374E80006B8FF1 /* DVDAudioCodecPassthrough.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFB6610615374E80006B8FF1 /* DVDAudioCodecPassthrough.cpp */; };
494 494
 		DFBE805115F7D75700D7D102 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DFBE803D15F7D72100D7D102 /* SystemConfiguration.framework */; };
495  
-		DFC0F8CB16139DF10066D598 /* XLCDproc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC0F8C916139DF10066D598 /* XLCDproc.cpp */; };
496  
-		DFC0F9021613A35E0066D598 /* LCDFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFC0F9001613A35E0066D598 /* LCDFactory.cpp */; };
497 495
 		DFCA6AC7152245CD000BFAAE /* HTTPJsonRpcHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6ABB152245CD000BFAAE /* HTTPJsonRpcHandler.cpp */; };
498 496
 		DFCA6AC8152245CD000BFAAE /* HTTPVfsHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6ABD152245CD000BFAAE /* HTTPVfsHandler.cpp */; };
499 497
 		DFCA6AC9152245CD000BFAAE /* HTTPWebinterfaceAddonsHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DFCA6ABF152245CD000BFAAE /* HTTPWebinterfaceAddonsHandler.cpp */; };
@@ -863,7 +861,6 @@
863 861
 		E38E22D70D25F9FE00618676 /* VideoInfoDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E4A0D25F9FD00618676 /* VideoInfoDownloader.cpp */; };
864 862
 		E38E22D80D25F9FE00618676 /* InfoLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E4C0D25F9FD00618676 /* InfoLoader.cpp */; };
865 863
 		E38E22DB0D25F9FE00618676 /* LabelFormatter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E530D25F9FD00618676 /* LabelFormatter.cpp */; };
866  
-		E38E22DC0D25F9FE00618676 /* LCD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E550D25F9FD00618676 /* LCD.cpp */; };
867 864
 		E38E22DF0D25F9FE00618676 /* log.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E5B0D25F9FD00618676 /* log.cpp */; };
868 865
 		E38E22E40D25F9FE00618676 /* MusicAlbumInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E650D25F9FD00618676 /* MusicAlbumInfo.cpp */; };
869 866
 		E38E22E50D25F9FE00618676 /* MusicInfoScraper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E1E670D25F9FD00618676 /* MusicInfoScraper.cpp */; };
@@ -2065,10 +2062,6 @@
2065 2062
 		DFB6610615374E80006B8FF1 /* DVDAudioCodecPassthrough.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DVDAudioCodecPassthrough.cpp; sourceTree = "<group>"; };
2066 2063
 		DFB6610715374E80006B8FF1 /* DVDAudioCodecPassthrough.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVDAudioCodecPassthrough.h; sourceTree = "<group>"; };
2067 2064
 		DFBE803D15F7D72100D7D102 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
2068  
-		DFC0F8C916139DF10066D598 /* XLCDproc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XLCDproc.cpp; sourceTree = "<group>"; };
2069  
-		DFC0F8CA16139DF10066D598 /* XLCDproc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XLCDproc.h; sourceTree = "<group>"; };
2070  
-		DFC0F9001613A35E0066D598 /* LCDFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LCDFactory.cpp; sourceTree = "<group>"; };
2071  
-		DFC0F9011613A35E0066D598 /* LCDFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LCDFactory.h; sourceTree = "<group>"; };
2072 2065
 		DFCA6ABB152245CD000BFAAE /* HTTPJsonRpcHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTTPJsonRpcHandler.cpp; sourceTree = "<group>"; };
2073 2066
 		DFCA6ABC152245CD000BFAAE /* HTTPJsonRpcHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTTPJsonRpcHandler.h; sourceTree = "<group>"; };
2074 2067
 		DFCA6ABD152245CD000BFAAE /* HTTPVfsHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTTPVfsHandler.cpp; sourceTree = "<group>"; };
@@ -2913,8 +2906,6 @@
2913 2906
 		E38E1E4D0D25F9FD00618676 /* InfoLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InfoLoader.h; sourceTree = "<group>"; };
2914 2907
 		E38E1E530D25F9FD00618676 /* LabelFormatter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LabelFormatter.cpp; sourceTree = "<group>"; };
2915 2908
 		E38E1E540D25F9FD00618676 /* LabelFormatter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LabelFormatter.h; sourceTree = "<group>"; };
2916  
-		E38E1E550D25F9FD00618676 /* LCD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LCD.cpp; sourceTree = "<group>"; };
2917  
-		E38E1E560D25F9FD00618676 /* LCD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LCD.h; sourceTree = "<group>"; };
2918 2909
 		E38E1E5B0D25F9FD00618676 /* log.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log.cpp; sourceTree = "<group>"; };
2919 2910
 		E38E1E5C0D25F9FD00618676 /* log.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = log.h; sourceTree = "<group>"; };
2920 2911
 		E38E1E650D25F9FD00618676 /* MusicAlbumInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MusicAlbumInfo.cpp; sourceTree = "<group>"; };
@@ -6075,8 +6066,6 @@
6075 6066
 				E38E1D7E0D25F9FD00618676 /* XFileUtils.h */,
6076 6067
 				E38E1D7F0D25F9FD00618676 /* XHandle.cpp */,
6077 6068
 				E38E1D800D25F9FD00618676 /* XHandle.h */,
6078  
-				DFC0F8C916139DF10066D598 /* XLCDproc.cpp */,
6079  
-				DFC0F8CA16139DF10066D598 /* XLCDproc.h */,
6080 6069
 				E38E1D810D25F9FD00618676 /* XMemUtils.cpp */,
6081 6070
 				E38E1D820D25F9FD00618676 /* XMemUtils.h */,
6082 6071
 				E38E1D870D25F9FD00618676 /* XTimeUtils.cpp */,
@@ -6206,10 +6195,6 @@
6206 6195
 				E38E1E540D25F9FD00618676 /* LabelFormatter.h */,
6207 6196
 				E38E18560D25F9FA00618676 /* LangCodeExpander.cpp */,
6208 6197
 				E38E18570D25F9FA00618676 /* LangCodeExpander.h */,
6209  
-				E38E1E550D25F9FD00618676 /* LCD.cpp */,
6210  
-				E38E1E560D25F9FD00618676 /* LCD.h */,
6211  
-				DFC0F9001613A35E0066D598 /* LCDFactory.cpp */,
6212  
-				DFC0F9011613A35E0066D598 /* LCDFactory.h */,
6213 6198
 				E38E1E5B0D25F9FD00618676 /* log.cpp */,
6214 6199
 				E38E1E5C0D25F9FD00618676 /* log.h */,
6215 6200
 				18B7C9E7129447B9009E7A26 /* MathUtils.h */,
@@ -7084,7 +7069,6 @@
7084 7069
 				E38E22D70D25F9FE00618676 /* VideoInfoDownloader.cpp in Sources */,
7085 7070
 				E38E22D80D25F9FE00618676 /* InfoLoader.cpp in Sources */,
7086 7071
 				E38E22DB0D25F9FE00618676 /* LabelFormatter.cpp in Sources */,
7087  
-				E38E22DC0D25F9FE00618676 /* LCD.cpp in Sources */,
7088 7072
 				E38E22DF0D25F9FE00618676 /* log.cpp in Sources */,
7089 7073
 				E38E22E40D25F9FE00618676 /* MusicAlbumInfo.cpp in Sources */,
7090 7074
 				E38E22E50D25F9FE00618676 /* MusicInfoScraper.cpp in Sources */,
@@ -7680,8 +7664,6 @@
7680 7664
 				DF2345E415FA639500A934F6 /* UPnPServer.cpp in Sources */,
7681 7665
 				AE84CB5A15A5B8A600A3810E /* TagLibVFSStream.cpp in Sources */,
7682 7666
 				AEC0083115ACAC6E0099888C /* TagLoaderTagLib.cpp in Sources */,
7683  
-				DFC0F8CB16139DF10066D598 /* XLCDproc.cpp in Sources */,
7684  
-				DFC0F9021613A35E0066D598 /* LCDFactory.cpp in Sources */,
7685 7667
 				DFDA3153160E34230047A626 /* DVDOverlayCodec.cpp in Sources */,
7686 7668
 				DFB0F472161B747500D744F4 /* AddonsOperations.cpp in Sources */,
7687 7669
 				7C4458BD161E203800A905F6 /* Screenshot.cpp in Sources */,
2  project/VS2010Express/XBMC.vcxproj
@@ -1275,7 +1275,6 @@
1275 1275
     <ClCompile Include="..\..\xbmc\utils\JSONVariantWriter.cpp" />
1276 1276
     <ClCompile Include="..\..\xbmc\utils\LabelFormatter.cpp" />
1277 1277
     <ClCompile Include="..\..\xbmc\utils\LangCodeExpander.cpp" />
1278  
-    <ClCompile Include="..\..\xbmc\utils\LCD.cpp" />
1279 1278
     <ClCompile Include="..\..\xbmc\utils\log.cpp" />
1280 1279
     <ClCompile Include="..\..\xbmc\utils\md5.cpp" />
1281 1280
     <ClCompile Include="..\..\xbmc\utils\Observer.cpp" />
@@ -2426,7 +2425,6 @@
2426 2425
     <ClInclude Include="..\..\xbmc\utils\JSONVariantWriter.h" />
2427 2426
     <ClInclude Include="..\..\xbmc\utils\LabelFormatter.h" />
2428 2427
     <ClInclude Include="..\..\xbmc\utils\LangCodeExpander.h" />
2429  
-    <ClInclude Include="..\..\xbmc\utils\LCD.h" />
2430 2428
     <ClInclude Include="..\..\xbmc\utils\log.h" />
2431 2429
     <ClInclude Include="..\..\xbmc\utils\MathUtils.h" />
2432 2430
     <ClInclude Include="..\..\xbmc\utils\md5.h" />
6  project/VS2010Express/XBMC.vcxproj.filters
@@ -1570,9 +1570,6 @@
1570 1570
     <ClCompile Include="..\..\xbmc\utils\LabelFormatter.cpp">
1571 1571
       <Filter>utils</Filter>
1572 1572
     </ClCompile>
1573  
-    <ClCompile Include="..\..\xbmc\utils\LCD.cpp">
1574  
-      <Filter>utils</Filter>
1575  
-    </ClCompile>
1576 1573
     <ClCompile Include="..\..\xbmc\utils\log.cpp">
1577 1574
       <Filter>utils</Filter>
1578 1575
     </ClCompile>
@@ -4488,9 +4485,6 @@
4488 4485
     <ClInclude Include="..\..\xbmc\utils\LabelFormatter.h">
4489 4486
       <Filter>utils</Filter>
4490 4487
     </ClInclude>
4491  
-    <ClInclude Include="..\..\xbmc\utils\LCD.h">
4492  
-      <Filter>utils</Filter>
4493  
-    </ClInclude>
4494 4488
     <ClInclude Include="..\..\xbmc\utils\log.h">
4495 4489
       <Filter>utils</Filter>
4496 4490
     </ClInclude>
52  userdata/LCD.xml
... ...
@@ -1,52 +0,0 @@
1  
-<lcd>
2  
-   <!-- set this to video,music to disable the LCD on playback of music and video-->
3  
-   <disableonplay>video</disableonplay>
4  
-   <navigation>
5  
-      <line>$INFO[System.CurrentWindow]</line>
6  
-      <line>$INFO[System.CurrentControl]</line>
7  
-      <line>Freemem: $INFO[System.FreeMemory]</line>
8  
-      <line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
9  
-   </navigation>
10  
-   <music>
11  
-      <line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
12  
-      <line>$INFO[MusicPlayer.Title]</line>
13  
-      <line>$INFO[MusicPlayer.Artist]</line>
14  
-      <line>$INFO[MusicPlayer.Album] ($INFO[MusicPlayer.Year])</line>
15  
-   </music>
16  
-   <video>
17  
-      <line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
18  
-      <line>$INFO[VideoPlayer.Title]</line>
19  
-      <line>$INFO[VideoPlayer.Genre]</line>
20  
-      <line>$INFO[LCD.ProgressBar]</line>
21  
-      <line>Freemem: $INFO[System.FreeMemory]</line>
22  
-   </video>
23  
-   <general>
24  
-      <line>XBMC running...</line>
25  
-      <line>$INFO[System.Time] $INFO[System.Date]</line>
26  
-      <line>Freemem: $INFO[System.FreeMemory]</line>
27  
-      <line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
28  
-   </general>
29  
-   <screensaver>
30  
-      <line>$INFO[System.CurrentWindow]</line>
31  
-      <line>$INFO[LCD.TimeWide21]</line>
32  
-      <line>$INFO[LCD.TimeWide22]</line>
33  
-      <line>Freemem: $INFO[System.FreeMemory]</line>
34  
-   </screensaver>
35  
-   <xbelaunch>
36  
-      <line></line>
37  
-      <line>Playing</line>
38  
-      <line>$INFO[System.LaunchXBE]</line>
39  
-   </xbelaunch>
40  
-   <pvrtv>
41  
-      <line>$INFO[VideoPlayer.ChannelName]</line>
42  
-      <line>$INFO[VideoPlayer.Title]</line>
43  
-      <line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
44  
-      <line>$INFO[LCD.ProgressBar]</line>
45  
-   </pvrtv>
46  
-   <pvrradio>
47  
-      <line>$INFO[MusicPlayer.ChannelName]</line>
48  
-      <line>$INFO[MusicPlayer.Title]</line>
49  
-      <line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
50  
-      <line>$INFO[LCD.ProgressBar]</line>
51  
-   </pvrradio>
52  
-</lcd>
109  xbmc/Application.cpp
@@ -48,9 +48,6 @@
48 48
 #include "network/httprequesthandler/HTTPWebinterfaceAddonsHandler.h"
49 49
 #endif
50 50
 #endif
51  
-#ifdef HAS_LCD
52  
-#include "utils/LCDFactory.h"
53  
-#endif
54 51
 #include "guilib/GUIControlProfiler.h"
55 52
 #include "utils/LangCodeExpander.h"
56 53
 #include "GUIInfoManager.h"
@@ -410,9 +407,6 @@ CApplication::CApplication(void)
410 407
   XInitThreads();
411 408
 #endif
412 409
 
413  
-  //true while we in IsPaused mode! Workaround for OnPaused, which must be add. after v2.0
414  
-  m_bIsPaused = false;
415  
-
416 410
   /* for now always keep this around */
417 411
 #ifdef HAS_KARAOKE
418 412
   m_pKaraokeMgr = new CKaraokeLyricsManager();
@@ -611,7 +605,6 @@ bool CApplication::Create()
611 605
   CopyUserDataIfNeeded("special://masterprofile/", "RssFeeds.xml");
612 606
   CopyUserDataIfNeeded("special://masterprofile/", "favourites.xml");
613 607
   CopyUserDataIfNeeded("special://masterprofile/", "Lircmap.xml");
614  
-  CopyUserDataIfNeeded("special://masterprofile/", "LCD.xml");
615 608
 
616 609
   if (!CLog::Init(CSpecialProtocol::TranslatePath(g_settings.m_logFolder).c_str()))
617 610
   {
@@ -1853,19 +1846,6 @@ void CApplication::StopPVRManager()
1853 1846
   g_EpgContainer.Stop();
1854 1847
 }
1855 1848
 
1856  
-void CApplication::DimLCDOnPlayback(bool dim)
1857  
-{
1858  
-#ifdef HAS_LCD
1859  
-  if (g_lcd)
1860  
-  {
1861  
-    if (dim)
1862  
-      g_lcd->DisableOnPlayback(IsPlayingVideo(), IsPlayingAudio());
1863  
-    else
1864  
-      g_lcd->SetBackLight(1);
1865  
-  }
1866  
-#endif
1867  
-}
1868  
-
1869 1849
 void CApplication::StartServices()
1870 1850
 {
1871 1851
 #if !defined(_WIN32) && defined(HAS_DVD_DRIVE)
@@ -1880,15 +1860,6 @@ void CApplication::StartServices()
1880 1860
   g_playlistPlayer.SetRepeat(PLAYLIST_VIDEO, g_settings.m_bMyVideoPlaylistRepeat ? PLAYLIST::REPEAT_ALL : PLAYLIST::REPEAT_NONE);
1881 1861
   g_playlistPlayer.SetShuffle(PLAYLIST_VIDEO, g_settings.m_bMyVideoPlaylistShuffle);
1882 1862
   CLog::Log(LOGNOTICE, "DONE initializing playlistplayer");
1883  
-
1884  
-#ifdef HAS_LCD
1885  
-  CLCDFactory factory;
1886  
-  g_lcd = factory.Create();
1887  
-  if (g_lcd)
1888  
-  {
1889  
-    g_lcd->Initialize();
1890  
-  }
1891  
-#endif
1892 1863
 }
1893 1864
 
1894 1865
 void CApplication::StopServices()
@@ -2960,39 +2931,6 @@ bool CApplication::OnAction(const CAction &action)
2960 2931
   return false;
2961 2932
 }
2962 2933
 
2963  
-void CApplication::UpdateLCD()
2964  
-{
2965  
-#ifdef HAS_LCD
2966  
-  static unsigned int lTickCount = 0;
2967  
-
2968  
-  if (!g_lcd || !g_guiSettings.GetBool("videoscreen.haslcd"))
2969  
-    return ;
2970  
-  unsigned int lTimeOut = 1000;
2971  
-  if ( m_iPlaySpeed != 1)
2972  
-    lTimeOut = 0;
2973  
-  if ( (XbmcThreads::SystemClockMillis() - lTickCount) >= lTimeOut)
2974  
-  {
2975  
-    if (g_application.NavigationIdleTime() < 5)
2976  
-      g_lcd->Render(ILCD::LCD_MODE_NAVIGATION);
2977  
-    else if (g_PVRManager.IsPlayingTV())
2978  
-      g_lcd->Render(ILCD::LCD_MODE_PVRTV);
2979  
-    else if (g_PVRManager.IsPlayingRadio())
2980  
-      g_lcd->Render(ILCD::LCD_MODE_PVRRADIO);
2981  
-    else if (IsPlayingVideo())
2982  
-      g_lcd->Render(ILCD::LCD_MODE_VIDEO);
2983  
-    else if (IsPlayingAudio())
2984  
-      g_lcd->Render(ILCD::LCD_MODE_MUSIC);
2985  
-    else if (IsInScreenSaver())
2986  
-      g_lcd->Render(ILCD::LCD_MODE_SCREENSAVER);
2987  
-    else
2988  
-      g_lcd->Render(ILCD::LCD_MODE_GENERAL);
2989  
-
2990  
-    // reset tick count
2991  
-    lTickCount = XbmcThreads::SystemClockMillis();
2992  
-  }
2993  
-#endif
2994  
-}
2995  
-
2996 2934
 void CApplication::FrameMove(bool processEvents, bool processGUI)
2997 2935
 {
2998 2936
   MEASURE_FUNCTION;
@@ -3021,8 +2959,6 @@ void CApplication::FrameMove(bool processEvents, bool processGUI)
3021 2959
       CWinEvents::MessagePump();
3022 2960
     }
3023 2961
 
3024  
-    UpdateLCD();
3025  
-
3026 2962
 #if defined(HAS_LIRC) || defined(HAS_IRSERVERSUITE)
3027 2963
     // Read the input from a remote
3028 2964
     g_RemoteControl.Update();
@@ -3674,15 +3610,6 @@ void CApplication::Stop(int exitCode)
3674 3610
   CLog::Log(LOGNOTICE, "stop python");
3675 3611
   g_pythonParser.FreeResources();
3676 3612
 #endif
3677  
-#ifdef HAS_LCD
3678  
-    if (g_lcd)
3679  
-    {
3680  
-      g_lcd->Stop();
3681  
-      delete g_lcd;
3682  
-      g_lcd=NULL;
3683  
-    }
3684  
-#endif
3685  
-
3686 3613
     g_Windowing.DestroyRenderSystem();
3687 3614
     g_Windowing.DestroyWindow();
3688 3615
     g_Windowing.DestroyWindowSystem();
@@ -4628,12 +4555,6 @@ bool CApplication::WakeUpScreenSaverAndDPMS(bool bPowerOffKeyPressed /* = false
4628 4555
 {
4629 4556
   bool result;
4630 4557
 
4631  
-#ifdef HAS_LCD
4632  
-    // turn on lcd backlight
4633  
-    if (g_lcd && g_advancedSettings.m_lcdDimOnScreenSave)
4634  
-      g_lcd->SetBackLight(1);
4635  
-#endif
4636  
-
4637 4558
   // First reset DPMS, if active
4638 4559
   if (m_dpmsIsActive)
4639 4560
   {
@@ -4776,12 +4697,6 @@ void CApplication::ActivateScreenSaver(bool forceType /*= false */)
4776 4697
   if (!CAddonMgr::Get().GetAddon(g_guiSettings.GetString("screensaver.mode"), m_screenSaver))
4777 4698
     m_screenSaver.reset(new CScreenSaver(""));
4778 4699
 
4779  
-#ifdef HAS_LCD
4780  
-  // turn off lcd backlight if requested
4781  
-  if (g_lcd && g_advancedSettings.m_lcdDimOnScreenSave)
4782  
-    g_lcd->SetBackLight(0);
4783  
-#endif
4784  
-
4785 4700
   CAnnouncementManager::Announce(GUI, "xbmc", "OnScreensaverActivated");
4786 4701
 
4787 4702
   // disable screensaver lock from the login screen
@@ -4914,8 +4829,6 @@ bool CApplication::OnMessage(CGUIMessage& message)
4914 4829
       param["player"]["playerid"] = g_playlistPlayer.GetCurrentPlaylist();
4915 4830
       CAnnouncementManager::Announce(Player, "xbmc", "OnPlay", m_itemCurrentFile, param);
4916 4831
 
4917  
-      DimLCDOnPlayback(true);
4918  
-
4919 4832
       if (IsPlayingAudio())
4920 4833
       {
4921 4834
         // Start our cdg parser as appropriate
@@ -5043,7 +4956,6 @@ bool CApplication::OnMessage(CGUIMessage& message)
5043 4956
       if (!IsPlaying())
5044 4957
       {
5045 4958
         g_audioManager.Enable(true);
5046  
-        DimLCDOnPlayback(false);
5047 4959
       }
5048 4960
 
5049 4961
       if (!IsPlayingVideo())
@@ -5238,15 +5150,6 @@ void CApplication::ProcessSlow()
5238 5150
     m_pKaraokeMgr->ProcessSlow();
5239 5151
 #endif
5240 5152
 
5241  
-  // LED - LCD SwitchOn On Paused! m_bIsPaused=TRUE -> LED/LCD is ON!
5242  
-  if(IsPaused() != m_bIsPaused)
5243  
-  {
5244  
-#ifdef HAS_LCD
5245  
-    DimLCDOnPlayback(m_bIsPaused);
5246  
-#endif
5247  
-    m_bIsPaused = IsPaused();
5248  
-  }
5249  
-
5250 5153
   if (!IsPlayingVideo())
5251 5154
     g_largeTextureManager.CleanupUnusedImages();
5252 5155
 
@@ -5285,18 +5188,6 @@ void CApplication::ProcessSlow()
5285 5188
     g_RemoteControl.Initialize();
5286 5189
 #endif
5287 5190
 
5288  
-#ifdef HAS_LCD
5289  
-  // attempt to reinitialize the LCD (e.g. after resuming from sleep)
5290  
-  if (!IsPlayingVideo())
5291  
-  {
5292  
-    if (g_lcd && !g_lcd->IsConnected())
5293  
-    {
5294  
-      g_lcd->Stop();
5295  
-      g_lcd->Initialize();
5296  
-    }
5297  
-  }
5298  
-#endif
5299  
-
5300 5191
   if (!IsPlayingVideo())
5301 5192
     CAddonInstaller::Get().UpdateRepos();
5302 5193
 
3  xbmc/Application.h
@@ -158,7 +158,6 @@ class CApplication : public CXBApplicationEx, public IPlayerCallback, public IMs
158 158
   void RefreshEventServer();
159 159
   void StartZeroconf();
160 160
   void StopZeroconf();
161  
-  void DimLCDOnPlayback(bool dim);
162 161
   bool IsCurrentThread() const;
163 162
   void Stop(int exitCode);
164 163
   void RestartApp();
@@ -298,7 +297,6 @@ class CApplication : public CXBApplicationEx, public IPlayerCallback, public IMs
298 297
   inline bool IsInScreenSaver() { return m_bScreenSave; };
299 298
   int m_iScreenSaveLock; // spiff: are we checking for a lock? if so, ignore the screensaver state, if -1 we have failed to input locks
300 299
 
301  
-  bool m_bIsPaused;
302 300
   bool m_bPlaybackStarting;
303 301
 
304 302
   CKaraokeLyricsManager* m_pKaraokeMgr;
@@ -436,7 +434,6 @@ class CApplication : public CXBApplicationEx, public IPlayerCallback, public IMs
436 434
   void UnMute();
437 435
 
438 436
   void SetHardwareVolume(float hardwareVolume);
439  
-  void UpdateLCD();
440 437
 
441 438
   void VolumeChanged() const;
442 439
 
137  xbmc/GUIInfoManager.cpp
@@ -32,9 +32,6 @@
32 32
 #include "addons/Visualisation.h"
33 33
 #include "input/ButtonTranslator.h"
34 34
 #include "utils/AlarmClock.h"
35  
-#ifdef HAS_LCD
36  
-#include "utils/LCD.h"
37  
-#endif
38 35
 #include "LangInfo.h"
39 36
 #include "utils/SystemInfo.h"
40 37
 #include "guilib/GUITextBox.h"
@@ -283,22 +280,6 @@ const infomap system_param[] =   {{ "hasalarm",         SYSTEM_HAS_ALARM },
283 280
                                   { "hasaddon",         SYSTEM_HAS_ADDON },
284 281
                                   { "coreusage",        SYSTEM_GET_CORE_USAGE }};
285 282
 
286  
-const infomap lcd_labels[] =     {{ "playicon",         LCD_PLAY_ICON },
287  
-                                  { "progressbar",      LCD_PROGRESS_BAR },
288  
-                                  { "cputemperature",   LCD_CPU_TEMPERATURE },
289  
-                                  { "gputemperature",   LCD_GPU_TEMPERATURE },
290  
-                                  { "hddtemperature",   LCD_HDD_TEMPERATURE },
291  
-                                  { "fanspeed",         LCD_FAN_SPEED },
292  
-                                  { "date",             LCD_DATE },
293  
-                                  { "time21",           LCD_TIME_21 },
294  
-                                  { "time22",           LCD_TIME_22 },
295  
-                                  { "timewide21",       LCD_TIME_W21 },
296  
-                                  { "timewide22",       LCD_TIME_W22 },
297  
-                                  { "time41",           LCD_TIME_41 },
298  
-                                  { "time42",           LCD_TIME_42 },
299  
-                                  { "time43",           LCD_TIME_43 },
300  
-                                  { "time44",           LCD_TIME_44 }};
301  
-
302 283
 const infomap network_labels[] = {{ "isdhcp",            NETWORK_IS_DHCP },
303 284
                                   { "ipaddress",         NETWORK_IP_ADDRESS }, //labels from here
304 285
                                   { "linkstate",         NETWORK_LINK_STATE },
@@ -805,14 +786,6 @@ int CGUIInfoManager::TranslateSingleString(const CStdString &strCondition)
805 786
           return weather[i].val;
806 787
       }
807 788
     }
808  
-    else if (cat.name == "lcd")
809  
-    {
810  
-      for (size_t i = 0; i < sizeof(lcd_labels) / sizeof(infomap); i++)
811  
-      {
812  
-        if (prop.name == lcd_labels[i].str)
813  
-          return lcd_labels[i].val;
814  
-      }
815  
-    }
816 789
     else if (cat.name == "network")
817 790
     {
818 791
       for (size_t i = 0; i < sizeof(network_labels) / sizeof(infomap); i++)
@@ -1317,9 +1290,6 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow, CStdString *fa
1317 1290
   case SYSTEM_DATE:
1318 1291
     strLabel = GetDate();
1319 1292
     break;
1320  
-  case LCD_DATE:
1321  
-    strLabel = GetDate(true);
1322  
-    break;
1323 1293
   case SYSTEM_FPS:
1324 1294
     strLabel.Format("%02.2f", m_fps);
1325 1295
     break;
@@ -1530,9 +1500,6 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow, CStdString *fa
1530 1500
   case SYSTEM_CPU_TEMPERATURE:
1531 1501
   case SYSTEM_GPU_TEMPERATURE:
1532 1502
   case SYSTEM_FAN_SPEED:
1533  
-  case LCD_CPU_TEMPERATURE:
1534  
-  case LCD_GPU_TEMPERATURE:
1535  
-  case LCD_FAN_SPEED:
1536 1503
   case SYSTEM_CPU_USAGE:
1537 1504
     return GetSystemHeatInfo(info);
1538 1505
     break;
@@ -1742,31 +1709,6 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow, CStdString *fa
1742 1709
         strLabel = friendlyName;
1743 1710
     }
1744 1711
     break;
1745  
-  case LCD_PLAY_ICON:
1746  
-    {
1747  
-      int iPlaySpeed = g_application.GetPlaySpeed();
1748  
-      if (g_application.IsPaused())
1749  
-        strLabel.Format("\7");
1750  
-      else if (iPlaySpeed < 1)
1751  
-        strLabel.Format("\3:%ix", iPlaySpeed);
1752  
-      else if (iPlaySpeed > 1)
1753  
-        strLabel.Format("\4:%ix", iPlaySpeed);
1754  
-      else
1755  
-        strLabel.Format("\5");
1756  
-    }
1757  
-    break;
1758  
-
1759  
-  case LCD_TIME_21:
1760  
-  case LCD_TIME_22:
1761  
-  case LCD_TIME_W21:
1762  
-  case LCD_TIME_W22:
1763  
-  case LCD_TIME_41:
1764  
-  case LCD_TIME_42:
1765  
-  case LCD_TIME_43:
1766  
-  case LCD_TIME_44:
1767  
-    //alternatively, set strLabel
1768  
-    return GetLcdTime( info );
1769  
-    break;
1770 1712
 
1771 1713
   case SKIN_THEME:
1772 1714
     strLabel = g_guiSettings.GetString("lookandfeel.skintheme");
@@ -1778,11 +1720,6 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow, CStdString *fa
1778 1720
     if (g_SkinInfo)
1779 1721
       strLabel = g_SkinInfo->GetCurrentAspect();
1780 1722
     break;
1781  
-#ifdef HAS_LCD
1782  
-  case LCD_PROGRESS_BAR:
1783  
-    if (g_lcd && g_lcd->IsConnected()) strLabel = g_lcd->GetProgressBar(g_application.GetTime(), g_application.GetTotalTime());
1784  
-    break;
1785  
-#endif
1786 1723
   case NETWORK_IP_ADDRESS:
1787 1724
     {
1788 1725
       CNetworkInterface* iface = g_application.getNetwork().GetFirstConnectedInterface();
@@ -3226,77 +3163,6 @@ CStdString CGUIInfoManager::GetTime(TIME_FORMAT format) const
3226 3163
   return LocalizeTime(time, format);
3227 3164
 }
3228 3165
 
3229  
-CStdString CGUIInfoManager::GetLcdTime( int _eInfo ) const
3230  
-{
3231  
-  CDateTime time=CDateTime::GetCurrentDateTime();
3232  
-  CStdString strLcdTime;
3233  
-
3234  
-#ifdef HAS_LCD
3235  
-
3236  
-  UINT       nCharset;
3237  
-  UINT       nLine;
3238  
-  CStdString strTimeMarker;
3239  
-
3240  
-  nCharset = 0;
3241  
-  nLine = 0;
3242  
-
3243  
-  switch ( _eInfo )
3244  
-  {
3245  
-    case LCD_TIME_21:
3246  
-      nCharset = 1; // CUSTOM_CHARSET_SMALLCHAR;
3247  
-      nLine = 0;
3248  
-      strTimeMarker = ".";
3249  
-    break;
3250  
-    case LCD_TIME_22:
3251  
-      nCharset = 1; // CUSTOM_CHARSET_SMALLCHAR;
3252  
-      nLine = 1;
3253  
-      strTimeMarker = ".";
3254  
-    break;
3255  
-
3256  
-    case LCD_TIME_W21:
3257  
-      nCharset = 2; // CUSTOM_CHARSET_MEDIUMCHAR;
3258  
-      nLine = 0;
3259  
-      strTimeMarker = ".";
3260  
-    break;
3261  
-    case LCD_TIME_W22:
3262  
-      nCharset = 2; // CUSTOM_CHARSET_MEDIUMCHAR;
3263  
-      nLine = 1;
3264  
-      strTimeMarker = ".";
3265  
-    break;
3266  
-
3267  
-    case LCD_TIME_41:
3268  
-      nCharset = 3; // CUSTOM_CHARSET_BIGCHAR;
3269  
-      nLine = 0;
3270  
-      strTimeMarker = " ";
3271  
-    break;
3272  
-    case LCD_TIME_42:
3273  
-      nCharset = 3; // CUSTOM_CHARSET_BIGCHAR;
3274  
-      nLine = 1;
3275  
-      strTimeMarker = "o";
3276  
-    break;
3277  
-    case LCD_TIME_43:
3278  
-      nCharset = 3; // CUSTOM_CHARSET_BIGCHAR;
3279  
-      nLine = 2;
3280  
-      strTimeMarker = "o";
3281  
-    break;
3282  
-    case LCD_TIME_44:
3283  
-      nCharset = 3; // CUSTOM_CHARSET_BIGCHAR;
3284  
-      nLine = 3;
3285  
-      strTimeMarker = " ";
3286  
-    break;
3287  
-  }
3288  
-
3289  
-  strLcdTime += g_lcd->GetBigDigit( nCharset, time.GetHour()  , nLine, 2, 2, true );
3290  
-  strLcdTime += strTimeMarker;
3291  
-  strLcdTime += g_lcd->GetBigDigit( nCharset, time.GetMinute(), nLine, 2, 2, false );
3292  
-  strLcdTime += strTimeMarker;
3293  
-  strLcdTime += g_lcd->GetBigDigit( nCharset, time.GetSecond(), nLine, 2, 2, false );
3294  
-
3295  
-#endif
3296  
-
3297  
-  return strLcdTime;
3298  
-}
3299  
-
3300 3166
 CStdString CGUIInfoManager::LocalizeTime(const CDateTime &time, TIME_FORMAT format) const
3301 3167
 {
3302 3168
   const CStdString timeFormat = g_langInfo.GetTimeFormat();
@@ -4035,15 +3901,12 @@ string CGUIInfoManager::GetSystemHeatInfo(int info)
4035 3901
   CStdString text;
4036 3902
   switch(info)
4037 3903
   {
4038  
-    case LCD_CPU_TEMPERATURE:
4039 3904
     case SYSTEM_CPU_TEMPERATURE:
4040 3905
       return m_cpuTemp.IsValid() ? m_cpuTemp.ToString() : "?";
4041 3906
       break;
4042  
-    case LCD_GPU_TEMPERATURE:
4043 3907
     case SYSTEM_GPU_TEMPERATURE:
4044 3908
       return m_gpuTemp.IsValid() ? m_gpuTemp.ToString() : "?";
4045 3909
       break;
4046  
-    case LCD_FAN_SPEED:
4047 3910
     case SYSTEM_FAN_SPEED:
4048 3911
       text.Format("%i%%", m_fanSpeed * 2);
4049 3912
       break;
16  xbmc/GUIInfoManager.h
@@ -162,21 +162,6 @@ namespace INFO
162 162
 #define SYSTEM_HDD_LOCKSTATE        157
163 163
 #define SYSTEM_HDD_LOCKKEY          158
164 164
 #define SYSTEM_INTERNET_STATE       159
165  
-#define LCD_PLAY_ICON               160
166  
-#define LCD_PROGRESS_BAR            161
167  
-#define LCD_CPU_TEMPERATURE         162
168  
-#define LCD_GPU_TEMPERATURE         163
169  
-#define LCD_HDD_TEMPERATURE         164
170  
-#define LCD_FAN_SPEED               165
171  
-#define LCD_DATE                    166
172  
-#define LCD_TIME_21                 172 // Small bigfont
173  
-#define LCD_TIME_22                 173
174  
-#define LCD_TIME_W21                174 // Medum bigfont
175  
-#define LCD_TIME_W22                175
176  
-#define LCD_TIME_41                 176 // Big bigfont
177  
-#define LCD_TIME_42                 177
178  
-#define LCD_TIME_43                 178
179  
-#define LCD_TIME_44                 179
180 165
 #define SYSTEM_ALARM_LESS_OR_EQUAL  180
181 166
 #define SYSTEM_PROFILECOUNT         181
182 167
 #define SYSTEM_ISFULLSCREEN         182
@@ -726,7 +711,6 @@ class CGUIInfoManager : public IMsgTargetCallback, public Observable
726 711
   CStdString GetImage(int info, int contextWindow, CStdString *fallback = NULL);
727 712
 
728 713
   CStdString GetTime(TIME_FORMAT format = TIME_FORMAT_GUESS) const;
729  
-  CStdString GetLcdTime( int _eInfo ) const;
730 714
   CStdString GetDate(bool bNumbersOnly = false);
731 715
   CStdString GetDuration(TIME_FORMAT format = TIME_FORMAT_GUESS) const;
732 716
 
15  xbmc/interfaces/Builtins.cpp
@@ -44,7 +44,6 @@
44 44
 #include "addons/AddonManager.h"
45 45
 #include "addons/PluginSource.h"
46 46
 #include "music/LastFmManager.h"
47  
-#include "utils/LCD.h"
48 47
 #include "utils/log.h"
49 48
 #include "storage/MediaManager.h"
50 49
 #include "utils/RssReader.h"
@@ -208,10 +207,6 @@ const BUILT_IN commands[] = {
208 207
   { "LIRC.Start",                 false,  "Adds XBMC as LIRC client" },
209 208
   { "LIRC.Send",                  true,   "Sends a command to LIRC" },
210 209
 #endif
211  
-#ifdef HAS_LCD
212  
-  { "LCD.Suspend",                false,  "Suspends LCDproc" },
213  
-  { "LCD.Resume",                 false,  "Resumes LCDproc" },
214  
-#endif
215 210
   { "VideoLibrary.Search",        false,  "Brings up a search dialog which will search the library" },
216 211
   { "ToggleDebug",                false,  "Enables/disables debug mode" },
217 212
   { "StartPVRManager",            false,  "(Re)Starts the PVR manager" },
@@ -1587,16 +1582,6 @@ int CBuiltins::Execute(const CStdString& execString)
1587 1582
     g_RemoteControl.AddSendCommand(command);
1588 1583
   }
1589 1584
 #endif
1590  
-#ifdef HAS_LCD
1591  
-  else if (execute.Equals("lcd.suspend"))
1592  
-  {
1593  
-    g_lcd->Suspend();
1594  
-  }
1595  
-  else if (execute.Equals("lcd.resume"))
1596  
-  {
1597  
-    g_lcd->Resume();
1598  
-  }
1599  
-#endif
1600 1585
   else if (execute.Equals("weather.locationset"))
1601 1586
   {
1602 1587
     int loc = atoi(params[0]);
1  xbmc/linux/Makefile.in
@@ -10,7 +10,6 @@ SRCS += LinuxTimezone.cpp
10 10
 SRCS += PosixMountProvider.cpp
11 11
 SRCS += XFileUtils.cpp
12 12
 SRCS += XHandle.cpp
13  
-SRCS += XLCDproc.cpp
14 13
 SRCS += XMemUtils.cpp
15 14
 SRCS += XTimeUtils.cpp
16 15
 
401  xbmc/linux/XLCDproc.cpp
... ...
@@ -1,401 +0,0 @@
1  
-/*
2  
- *      Copyright (C) 2005-2012 Team XBMC
3  
- *      http://www.xbmc.org
4  
- *
5  
- *  This Program is free software; you can redistribute it and/or modify
6  
- *  it under the terms of the GNU General Public License as published by
7  
- *  the Free Software Foundation; either version 2, or (at your option)
8  
- *  any later version.
9  
- *
10  
- *  This Program is distributed in the hope that it will be useful,
11  
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  
- *  GNU General Public License for more details.
14  
- *
15  
- *  You should have received a copy of the GNU General Public License
16  
- *  along with XBMC; see the file COPYING.  If not, see
17  
- *  <http://www.gnu.org/licenses/>.
18  
- *
19  
- */
20  
-
21  
-#include "threads/SystemClock.h"
22  
-#include "PlatformInclude.h"
23  
-#include "XLCDproc.h"
24  
-#include "../utils/log.h"
25  
-#include "../utils/TimeUtils.h"
26  
-#include "settings/AdvancedSettings.h"
27  
-#include "settings/GUISettings.h"
28  
-
29  
-#include <sys/types.h>
30  
-#include <sys/socket.h>
31  
-#include <netinet/in.h>
32  
-#include <netdb.h>
33  
-
34  
-#define SCROLL_SPEED_IN_MSEC 250
35  
-
36  
-
37  
-XLCDproc::XLCDproc()
38  
-{
39  
-  m_iActualpos   = 0;
40  
-  m_iBackLight   = 32;
41  
-  m_iLCDContrast = 50;
42  
-  m_iColumns     = 0;
43  
-  m_iRows        = 0;
44  
-  m_bStop        = true;
45  
-  m_sockfd       = -1;
46  
-  m_lastInitAttempt = 0;
47  
-  m_initRetryInterval = INIT_RETRY_INTERVAL;
48  
-  m_used = true;
49  
-}
50  
-
51  
-XLCDproc::~XLCDproc()
52  
-{
53  
-}
54  
-
55  
-void XLCDproc::ReadAndFlushSocket()
56  
-{
57  
-  char recvtmp[1024];
58  
-
59  
-  if (read(m_sockfd, recvtmp, 1024) < 0)
60  
-  {
61  
-    // only spam xbmc.log when something serious happened,
62  
-    // EAGAIN literally means "nothing to read", this is fine for us.
63  
-    if(errno != EAGAIN)
64  
-      CLog::Log(LOGERROR, "XLCDproc::ReadAndFlushSocket - Cannot read/clear response");
65  
-  }
66  
-}
67  
-
68  
-bool XLCDproc::SendLCDd(const CStdString &command)
69  
-{
70  
-  if (m_sockfd == -1)
71  
-    return false;
72  
-
73  
-  if (write(m_sockfd, command.c_str(), command.size()) < 0)
74  
-  {
75  
-    CLog::Log(LOGERROR, "XLCDproc::SendLCDd - Cannot send command '%s'.",
76  
-      command.c_str());
77  
-    return false;
78  
-  }
79  
-
80  
-  ReadAndFlushSocket();
81  
-
82  
-  return true;
83  
-}
84  
-
85  
-void XLCDproc::Initialize()
86  
-{
87  
-  int sockfdopt;
88  
-
89  
-  if (!m_used || !g_guiSettings.GetBool("videoscreen.haslcd"))
90  
-    return ;//nothing to do
91  
-
92  
-  // don't try to initialize too often
93  
-  int now = XbmcThreads::SystemClockMillis();
94  
-  if ((now - m_lastInitAttempt) < m_initRetryInterval)
95  
-    return;
96  
-  m_lastInitAttempt = now;
97  
-
98  
-  ILCD::Initialize();
99  
-
100  
-  if (Connect())
101  
-  {
102  
-    // reset the retry interval after a successful connect
103  
-    m_initRetryInterval = INIT_RETRY_INTERVAL;
104  
-
105  
-    m_bStop = false;
106  
-
107  
-    if ((sockfdopt = fcntl(m_sockfd, F_GETFL)) == -1)
108  
-    {
109  
-      CLog::Log(LOGERROR,
110  
-        "XLCDproc::%s - Cannot read socket flags, stopping LCD",
111  
-          __FUNCTION__);
112  
-
113  
-      CloseSocket();
114  
-      m_bStop = true;
115  
-    }
116  
-    else
117  
-    {
118  
-      if (fcntl(m_sockfd, F_SETFL, sockfdopt | O_NONBLOCK) == -1)
119  
-      {
120  
-        CLog::Log(LOGERROR,
121  
-          "XLCDproc::%s - Cannot set socket to nonblocking mode, stopping LCD",
122  
-            __FUNCTION__);
123  
-
124  
-        CloseSocket();
125  
-        m_bStop = true;
126  
-      }
127  
-    }
128  
-  }
129  
-  else
130  
-  {
131  
-    CloseSocket();
132  
-
133  
-    // give up after 60 seconds
134  
-    if (m_initRetryInterval > INIT_RETRY_INTERVAL_MAX)
135  
-    {
136  
-      m_used = false;
137  
-      CLog::Log(LOGERROR, "XLCDproc::%s - Connect failed. Giving up.", __FUNCTION__);
138  
-    }
139  
-    else
140  
-    {
141  
-      m_initRetryInterval *= 2;
142  
-      CLog::Log(LOGERROR, "XLCDproc::%s - Connect failed. Retry in %d seconds.", __FUNCTION__,
143  
-                m_initRetryInterval/1000);
144  
-    }
145  
-  }
146  
-}
147  
-
148  
-bool XLCDproc::Connect()
149  
-{
150  
-  CloseSocket();
151  
-
152  
-  struct hostent *server;
153  
-  server = gethostbyname(g_advancedSettings.m_lcdHostName);
154  
-  if (server == NULL)
155  
-  {
156  
-     CLog::Log(LOGERROR, "XLCDproc::%s - Unable to resolve LCDd host.", __FUNCTION__);
157  
-     return false;
158  
-  }
159  
-
160  
-  m_sockfd = socket(AF_INET, SOCK_STREAM, 0);
161  
-  if (m_sockfd == -1)
162  
-  {
163  
-    CLog::Log(LOGERROR, "XLCDproc::%s - Unable to create socket.", __FUNCTION__);
164  
-    return false;
165  
-  }
166  
-
167  
-  struct sockaddr_in serv_addr = {};
168  
-  serv_addr.sin_family = AF_INET;
169  
-  memmove(&serv_addr.sin_addr, server->h_addr_list[0], server->h_length);
170  
-  //Connect to default LCDd port, hard coded for now.
171  
-  serv_addr.sin_port = htons(13666);
172  
-
173  
-  if (connect(m_sockfd,(struct sockaddr*)&serv_addr,sizeof(serv_addr)) == -1)
174  
-  {
175  
-    CLog::Log(LOGERROR, "XLCDproc::%s - Unable to connect to host, LCDd not running?", __FUNCTION__);
176  
-    return false;
177  
-  }
178  
-
179  
-  // Start a new session
180  
-  CStdString hello;
181  
-  hello = "hello\n";
182  
-
183  
-  if (write(m_sockfd,hello.c_str(),hello.size()) == -1)
184  
-  {
185  
-    CLog::Log(LOGERROR, "XLCDproc::%s - Unable to write to socket", __FUNCTION__);
186  
-    return false;
187  
-  }
188  
-
189  
-  // Receive LCDproc data to determine row and column information
190  
-  char reply[1024] = {};
191  
-  if (read(m_sockfd,reply,sizeof(reply) - 1) == -1)
192  
-  {
193  
-    CLog::Log(LOGERROR, "XLCDproc::%s - Unable to read from socket", __FUNCTION__);
194  
-    return false;
195  
-  }
196  
-
197  
-  unsigned int i=0;
198  
-  while ((strncmp("lcd",reply + i,3) != 0 ) && (i < (strlen(reply) - 5))) i++;
199  
-  if(sscanf(reply+i,"lcd wid %u hgt %u", &m_iColumns, &m_iRows))
200  
-    CLog::Log(LOGDEBUG, "XLCDproc::%s - LCDproc data: Columns %i - Rows %i.", __FUNCTION__, m_iColumns, m_iRows);
201  
-
202  
-  //Build command to setup screen
203  
-  CStdString cmd;
204  
-  cmd = "screen_add xbmc\n";
205  
-  if (!g_advancedSettings.m_lcdHeartbeat)
206  
-    cmd.append("screen_set xbmc -heartbeat off\n");
207  
-  if (g_advancedSettings.m_lcdScrolldelay != 0)
208  
-  {
209  
-    cmd.append("widget_add xbmc line1 scroller\n");
210  
-    cmd.append("widget_add xbmc line2 scroller\n");
211  
-    cmd.append("widget_add xbmc line3 scroller\n");
212  
-    cmd.append("widget_add xbmc line4 scroller\n");
213  
-  }
214  
-  else
215  
-  {
216  
-    cmd.append("widget_add xbmc line1 string\n");
217  
-    cmd.append("widget_add xbmc line2 string\n");
218  
-    cmd.append("widget_add xbmc line3 string\n");
219  
-    cmd.append("widget_add xbmc line4 string\n");
220  
-  }
221  
-
222  
-  //Send to server
223  
-  if (!SendLCDd(cmd))
224  
-  {
225  
-    return false;
226  
-  }
227  
-
228  
-  return true;
229  
-}
230  
-
231  
-void XLCDproc::CloseSocket()
232  
-{
233  
-  if (m_sockfd != -1)
234  
-  {
235  
-    shutdown(m_sockfd, SHUT_RDWR);
236  
-    close(m_sockfd);
237  
-    m_sockfd = -1;
238  
-  }
239  
-}
240  
-
241  
-bool XLCDproc::IsConnected()
242  
-{
243  
-  if (m_sockfd == -1)
244  
-    return false;
245  
-
246  
-  CStdString cmd;
247  
-  cmd = "noop\n";