Browse Source

1.下载缩略图优化

huangxiaodong 1 year ago
parent
commit
4ebcd025b8

+ 18 - 10
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -7,6 +7,7 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		0E69932CA3C4B3A33E0C587C /* libPods-隐私保护.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41C5601DC8FC86BACEE00639 /* libPods-隐私保护.a */; };
 		1810F9002AA1839C00322116 /* PhoneTimeInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 1810F8FE2AA1839C00322116 /* PhoneTimeInfoModel.m */; };
 		1810F9012AA1839C00322116 /* PhoneTimeInfoModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 1810F8FF2AA1839C00322116 /* PhoneTimeInfoModel.h */; };
 		181E84F22A8F0A9B00292B96 /* HelpDownScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = 181E84F02A8F0A9A00292B96 /* HelpDownScrollView.h */; };
@@ -137,6 +138,7 @@
 		18FCE5452AD136FF0020F623 /* ShortcutManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5432AD136FF0020F623 /* ShortcutManager.m */; };
 		18FCE5482AD15E750020F623 /* PlayerViewController+AppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 18FCE5462AD15E730020F623 /* PlayerViewController+AppDelegate.h */; };
 		18FCE5492AD15E750020F623 /* PlayerViewController+AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 18FCE5472AD15E750020F623 /* PlayerViewController+AppDelegate.m */; };
+		5D9E1B185552EF17AE8B5F24 /* libPods-计算器.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CAE4E9905D1AB335F8657436 /* libPods-计算器.a */; };
 		6B05815B2AFC851E00D37290 /* mySetHeadView.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B0581592AFC851E00D37290 /* mySetHeadView.h */; };
 		6B05815C2AFC851E00D37290 /* mySetHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B05815A2AFC851E00D37290 /* mySetHeadView.m */; };
 		6B0581602AFCD0DF00D37290 /* uploadImageOrVideoViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B05815E2AFCD0DF00D37290 /* uploadImageOrVideoViewController.h */; };
@@ -620,7 +622,6 @@
 		6BD507E62B9576A4006E7CB0 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 183AE6862A8C9BA700B11CB0 /* AudioToolbox.framework */; };
 		6BD507E72B9576A4006E7CB0 /* RCCloudPhoneSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18664FFE2AC2C908008F8A61 /* RCCloudPhoneSDK.framework */; };
 		6BD507E82B9576A4006E7CB0 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 183AE6842A8C9B8900B11CB0 /* AVFoundation.framework */; };
-		6BD507E92B9576A4006E7CB0 /* libPods-隐私保护.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 30A0956AAA5C7A03B5DB1B27 /* libPods-隐私保护.a */; };
 		6BD507EB2B9576A4006E7CB0 /* HWBookmarkViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 18438BED2A04DD7D00981C34 /* HWBookmarkViewController.xib */; };
 		6BD507EC2B9576A4006E7CB0 /* RunInBackground.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 6BBB35D62AE7645200E4A59B /* RunInBackground.mp3 */; };
 		6BD507ED2B9576A4006E7CB0 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 18438BE82A04B3AB00981C34 /* Localizable.strings */; };
@@ -965,9 +966,10 @@
 		18FCE5432AD136FF0020F623 /* ShortcutManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShortcutManager.m; sourceTree = "<group>"; };
 		18FCE5462AD15E730020F623 /* PlayerViewController+AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PlayerViewController+AppDelegate.h"; sourceTree = "<group>"; };
 		18FCE5472AD15E750020F623 /* PlayerViewController+AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PlayerViewController+AppDelegate.m"; sourceTree = "<group>"; };
+		1C8858F235EF73D282B6C2F7 /* Pods-计算器.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-计算器.debug.xcconfig"; path = "Target Support Files/Pods-计算器/Pods-计算器.debug.xcconfig"; sourceTree = "<group>"; };
 		2F0BE44210830826B87D3294 /* Pods-隐私保护-双子星云手机UITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-隐私保护-双子星云手机UITests.debug.xcconfig"; path = "Target Support Files/Pods-隐私保护-双子星云手机UITests/Pods-隐私保护-双子星云手机UITests.debug.xcconfig"; sourceTree = "<group>"; };
-		30A0956AAA5C7A03B5DB1B27 /* libPods-隐私保护.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-隐私保护.a"; sourceTree = BUILT_PRODUCTS_DIR; };
 		34FDFD4EDCAAF106290BB4FC /* Pods-隐私保护.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-隐私保护.debug.xcconfig"; path = "Target Support Files/Pods-隐私保护/Pods-隐私保护.debug.xcconfig"; sourceTree = "<group>"; };
+		41C5601DC8FC86BACEE00639 /* libPods-隐私保护.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-隐私保护.a"; sourceTree = BUILT_PRODUCTS_DIR; };
 		5A7C795CAC690A410AE1E306 /* libPods-隐私保护-双子星云手机UITests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-隐私保护-双子星云手机UITests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
 		6B0581592AFC851E00D37290 /* mySetHeadView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = mySetHeadView.h; sourceTree = "<group>"; };
 		6B05815A2AFC851E00D37290 /* mySetHeadView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = mySetHeadView.m; sourceTree = "<group>"; };
@@ -1164,6 +1166,7 @@
 		6BFF26972AFA16D900FCB4F7 /* forgetSecretKeyViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = forgetSecretKeyViewController.h; sourceTree = "<group>"; };
 		6BFF26982AFA16DA00FCB4F7 /* forgetSecretKeyViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = forgetSecretKeyViewController.m; sourceTree = "<group>"; };
 		71D630B0FBD97501D316E4AB /* Pods-隐私保护.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-隐私保护.release.xcconfig"; path = "Target Support Files/Pods-隐私保护/Pods-隐私保护.release.xcconfig"; sourceTree = "<group>"; };
+		76CE03B9AFFD06BB0A10175A /* Pods-计算器.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-计算器.release.xcconfig"; path = "Target Support Files/Pods-计算器/Pods-计算器.release.xcconfig"; sourceTree = "<group>"; };
 		86FBD9FD629A5194B7C58D9F /* Pods-双子星云手机-双子星云手机UITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-双子星云手机-双子星云手机UITests.debug.xcconfig"; path = "Target Support Files/Pods-双子星云手机-双子星云手机UITests/Pods-双子星云手机-双子星云手机UITests.debug.xcconfig"; sourceTree = "<group>"; };
 		A00221D827EAFF4A00E45F78 /* HWAddBookmarkViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HWAddBookmarkViewController.h; sourceTree = "<group>"; };
 		A00221D927EAFF4A00E45F78 /* HWAddBookmarkViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HWAddBookmarkViewController.m; sourceTree = "<group>"; };
@@ -1296,6 +1299,7 @@
 		B82AB1A40A2A5389551A4D37 /* Pods-双子星云手机Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-双子星云手机Tests.debug.xcconfig"; path = "Target Support Files/Pods-双子星云手机Tests/Pods-双子星云手机Tests.debug.xcconfig"; sourceTree = "<group>"; };
 		B86309A2862A9A940DB07BE1 /* Pods-双子星云手机-双子星云手机UITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-双子星云手机-双子星云手机UITests.release.xcconfig"; path = "Target Support Files/Pods-双子星云手机-双子星云手机UITests/Pods-双子星云手机-双子星云手机UITests.release.xcconfig"; sourceTree = "<group>"; };
 		BA5C9DA7E6987512BBFDE348 /* Pods-双子星云手机.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-双子星云手机.debug.xcconfig"; path = "Target Support Files/Pods-双子星云手机/Pods-双子星云手机.debug.xcconfig"; sourceTree = "<group>"; };
+		CAE4E9905D1AB335F8657436 /* libPods-计算器.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-计算器.a"; sourceTree = BUILT_PRODUCTS_DIR; };
 		F210997EB3FE1422D10ADDB1 /* Pods-双子星云手机Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-双子星云手机Tests.release.xcconfig"; path = "Target Support Files/Pods-双子星云手机Tests/Pods-双子星云手机Tests.release.xcconfig"; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
@@ -1317,7 +1321,7 @@
 				6BD507E62B9576A4006E7CB0 /* AudioToolbox.framework in Frameworks */,
 				6BD507E72B9576A4006E7CB0 /* RCCloudPhoneSDK.framework in Frameworks */,
 				6BD507E82B9576A4006E7CB0 /* AVFoundation.framework in Frameworks */,
-				6BD507E92B9576A4006E7CB0 /* libPods-隐私保护.a in Frameworks */,
+				5D9E1B185552EF17AE8B5F24 /* libPods-计算器.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -1339,6 +1343,7 @@
 				18664FFF2AC2C908008F8A61 /* RCCloudPhoneSDK.framework in Frameworks */,
 				183AE6852A8C9B8900B11CB0 /* AVFoundation.framework in Frameworks */,
 				FF9E820CFBE22690EBBB63B3 /* libPods-隐私保护.a in Frameworks */,
+				0E69932CA3C4B3A33E0C587C /* libPods-隐私保护.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -1374,6 +1379,8 @@
 				71D630B0FBD97501D316E4AB /* Pods-隐私保护.release.xcconfig */,
 				2F0BE44210830826B87D3294 /* Pods-隐私保护-双子星云手机UITests.debug.xcconfig */,
 				AEAE0E496589E7D09F4BF865 /* Pods-隐私保护-双子星云手机UITests.release.xcconfig */,
+				1C8858F235EF73D282B6C2F7 /* Pods-计算器.debug.xcconfig */,
+				76CE03B9AFFD06BB0A10175A /* Pods-计算器.release.xcconfig */,
 			);
 			path = Pods;
 			sourceTree = "<group>";
@@ -1757,8 +1764,9 @@
 				183AE6862A8C9BA700B11CB0 /* AudioToolbox.framework */,
 				183AE6842A8C9B8900B11CB0 /* AVFoundation.framework */,
 				16C83602E592F43A82A92B3E /* libPods-双子星云手机Tests.a */,
-				30A0956AAA5C7A03B5DB1B27 /* libPods-隐私保护.a */,
 				5A7C795CAC690A410AE1E306 /* libPods-隐私保护-双子星云手机UITests.a */,
+				CAE4E9905D1AB335F8657436 /* libPods-计算器.a */,
+				41C5601DC8FC86BACEE00639 /* libPods-隐私保护.a */,
 			);
 			name = Frameworks;
 			sourceTree = "<group>";
@@ -2946,7 +2954,7 @@
 			outputFileListPaths = (
 			);
 			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-隐私保护-checkManifestLockResult.txt",
+				"$(DERIVED_FILE_DIR)/Pods-计算器-checkManifestLockResult.txt",
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
@@ -2959,15 +2967,15 @@
 			files = (
 			);
 			inputFileListPaths = (
-				"${PODS_ROOT}/Target Support Files/Pods-隐私保护/Pods-隐私保护-resources-${CONFIGURATION}-input-files.xcfilelist",
+				"${PODS_ROOT}/Target Support Files/Pods-计算器/Pods-计算器-resources-${CONFIGURATION}-input-files.xcfilelist",
 			);
 			name = "[CP] Copy Pods Resources";
 			outputFileListPaths = (
-				"${PODS_ROOT}/Target Support Files/Pods-隐私保护/Pods-隐私保护-resources-${CONFIGURATION}-output-files.xcfilelist",
+				"${PODS_ROOT}/Target Support Files/Pods-计算器/Pods-计算器-resources-${CONFIGURATION}-output-files.xcfilelist",
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-隐私保护/Pods-隐私保护-resources.sh\"\n";
+			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-计算器/Pods-计算器-resources.sh\"\n";
 			showEnvVarsInLog = 0;
 		};
 		8F6854CC3A9472B869B4CB72 /* [CP] Copy Pods Resources */ = {
@@ -3589,7 +3597,7 @@
 /* Begin XCBuildConfiguration section */
 		6BD5080A2B9576A4006E7CB0 /* Debug */ = {
 			isa = XCBuildConfiguration;
-			baseConfigurationReference = 34FDFD4EDCAAF106290BB4FC /* Pods-隐私保护.debug.xcconfig */;
+			baseConfigurationReference = 1C8858F235EF73D282B6C2F7 /* Pods-计算器.debug.xcconfig */;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIconJSJ;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -3671,7 +3679,7 @@
 		};
 		6BD5080B2B9576A4006E7CB0 /* Release */ = {
 			isa = XCBuildConfiguration;
-			baseConfigurationReference = 71D630B0FBD97501D316E4AB /* Pods-隐私保护.release.xcconfig */;
+			baseConfigurationReference = 76CE03B9AFFD06BB0A10175A /* Pods-计算器.release.xcconfig */;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIconJSJ;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;

+ 3 - 3
创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/downLoadPreviewViewController.m

@@ -613,9 +613,9 @@
 #pragma mark 去下载缩略图
 - (void)gotoDownThumbnailManagerFun
 {
-    if(_curCouldPhoneFileListMod.data.list && _curCouldPhoneFileListMod.data.list.count >0){
-        [[downloadThumbnailManager shareInstance] handlToDownloadThumbnailWith:_curCouldPhoneFileListMod.data.list];
-    }
+//    if(_curCouldPhoneFileListMod.data.list && _curCouldPhoneFileListMod.data.list.count >0){
+//        [[downloadThumbnailManager shareInstance] handlToDownloadThumbnailWith:_curCouldPhoneFileListMod.data.list];
+//    }
 }
 
 - (void)gotoDownloadloadFileRecordFun

+ 2 - 0
创维盒子/双子星云手机/Class/Set/uploadFile/downLoadFile/view/downLoadPreViewCell.m

@@ -140,6 +140,8 @@
     
     //[[downloadThumbnailManager shareInstance] handlToDownloadOneThumbnailWith:_curFileModel];
     
+    [[downloadThumbnailManager shareInstance] handlToDownloadThumbnailInDownTableViewWith:@[_curFileModel]];
+    
     mImageView.image = [UIImage imageNamed:@"uploadFile_image"];
     if([curFileModel.fileType isEqualToString:@"video"])
     {

+ 0 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/downloadThumbnailManager.h

@@ -17,7 +17,6 @@ NS_ASSUME_NONNULL_BEGIN
 @interface downloadThumbnailManager : NSObject
 +(downloadThumbnailManager *)shareInstance;
 
-@property(nonatomic,strong)NSMutableArray *waitDownloadTaskArr;
 @property(nonatomic,strong)NSMutableArray *downloadingTaskArr;
 @property(nonatomic,strong)couldPhoneFileModel *curDownloadFileModel;
 

+ 24 - 14
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileManager/downloadThumbnailManager.m

@@ -47,11 +47,19 @@ static downloadThumbnailManager * cur_downloadFileShareInstance = nil;
     if(Arr && Arr.count >0){
         NSLock *lock = [NSLock new];
         [lock lock];
-        if (!_waitDownloadTaskArr) {
-            _waitDownloadTaskArr = [NSMutableArray arrayWithArray:Arr];
+        if (!_downloadingTaskArr) {
+            _downloadingTaskArr = [NSMutableArray arrayWithArray:Arr];
         }
         else{
-            [_waitDownloadTaskArr addObjectsFromArray:Arr];
+            for (couldPhoneFileModel*model in Arr) {
+                if(_downloadingTaskArr.count < 5){
+                    [_downloadingTaskArr addObject:model];
+                }
+                else{
+                    [_downloadingTaskArr insertObject:model atIndex:3];
+                }
+                
+            }
         }
         
         [self planToDownloadThumbnailFun];
@@ -76,8 +84,7 @@ static downloadThumbnailManager * cur_downloadFileShareInstance = nil;
 - (void)planToDownloadThumbnailFun
 {
     if (!_downloadingTaskArr || _downloadingTaskArr.count == 0) {
-        _downloadingTaskArr = [NSMutableArray arrayWithArray:_waitDownloadTaskArr];
-        [_waitDownloadTaskArr removeAllObjects];
+        return;
     }
     
     [self beginDownloadThumbnailFun];
@@ -94,14 +101,16 @@ static downloadThumbnailManager * cur_downloadFileShareInstance = nil;
 
 - (void)beginDownloadThumbnailFun{
     if (_downloadingTaskArr.count > 0) {
-        _curDownloadFileModel = _downloadingTaskArr.firstObject;
+        couldPhoneFileModel*firstModel = _downloadingTaskArr.firstObject;
+        if(firstModel == _curDownloadFileModel){
+            return;
+        }
+        else{
+            _curDownloadFileModel = _downloadingTaskArr.firstObject;
+        }
+        
     }
     else{
-        if(_waitDownloadTaskArr && _waitDownloadTaskArr.count>0){
-            _downloadingTaskArr = [NSMutableArray arrayWithArray:_waitDownloadTaskArr];
-            [_waitDownloadTaskArr removeAllObjects];
-            [self beginDownloadThumbnailFun];
-        }
         return;
     }
     
@@ -120,13 +129,14 @@ static downloadThumbnailManager * cur_downloadFileShareInstance = nil;
     
     self.taskRenewTime = [iTools getNowTimeStamp];
     [[NSNotificationCenter defaultCenter] postNotificationName:downloadThumbnailBeginNotification object:_curDownloadFileModel];
-    [_downloadingTaskArr removeObject:_curDownloadFileModel];
+    //[_downloadingTaskArr removeObject:_curDownloadFileModel];
 }
 
 - (void)DownloadFileDoneOneFileFun
 {
     [[NSNotificationCenter defaultCenter] postNotificationName:downloadThumbnailDoneOneNotification object:nil];
     
+    [_downloadingTaskArr removeObject:_curDownloadFileModel];
     _curDownloadFileModel = nil;
     [self beginDownloadThumbnailFun];
     self.taskRenewTime = [iTools getNowTimeStamp];
@@ -144,8 +154,8 @@ static downloadThumbnailManager * cur_downloadFileShareInstance = nil;
         return;
     }
     
-    if((_downloadingTaskArr && _downloadingTaskArr.count >0)
-       ||(_waitDownloadTaskArr && _waitDownloadTaskArr.count>0)){
+    if(_downloadingTaskArr && _downloadingTaskArr.count >0){
+        [_downloadingTaskArr removeObject:_curDownloadFileModel];
         [self beginDownloadThumbnailFun];
     }
 }

+ 9 - 9
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileRecordViewController.m

@@ -543,15 +543,15 @@
         });
         
         //检测下预览图片是否都下载
-        if(isRegetType){
-            if(Arr &&Arr.count == 3){
-                NSArray *downingArr = Arr[0];
-                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                    [[downloadThumbnailManager shareInstance] handlToDownloadThumbnailInDownTableViewWith:downingArr];
-                });
-            }
-            
-        }
+//        if(isRegetType){
+//            if(Arr &&Arr.count == 3){
+//                NSArray *downingArr = Arr[0];
+//                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+//                    [[downloadThumbnailManager shareInstance] handlToDownloadThumbnailInDownTableViewWith:downingArr];
+//                });
+//            }
+//            
+//        }
         
     }];
     

+ 1 - 0
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileView/downloadFileRecordCell.m

@@ -221,6 +221,7 @@
     _curCouldPhoneFileModel = curCouldPhoneFileModel;
     
     //[[downloadThumbnailManager shareInstance] handlToDownloadOneThumbnailWith:_curCouldPhoneFileModel];
+    [[downloadThumbnailManager shareInstance] handlToDownloadThumbnailInDownTableViewWith:@[_curCouldPhoneFileModel]];
     
     if(_curCouldPhoneFileModel.curDownloadStateType != downloadStateDone){
         //HLog(@"hhhhhhh2  %@ %ld ",_curCouldPhoneFileModel.name,_curCouldPhoneFileModel.didDownloadBytes);

+ 9 - 0
创维盒子/双子星云手机/CloudPlayer/PlayerViewController+otherDelegate.mm

@@ -439,6 +439,15 @@
 
 - (void)checkAllTaskFun
 {
+    if([self.commandChannelManager rc_socketStatus] == RCSocketCloudPhoneStatusConnected
+       ||[self.commandChannelManager rc_socketStatus] == RCSocketCloudPhoneStatusReceived){
+        HLog(@"WebSocket 链接正常");
+    }
+    else{
+        HLog(@"WebSocket 链接异常:%ld",[self.commandChannelManager rc_socketStatus]);
+        return;
+    }
+    
     //处理相册备份
     [[backupsFileManager shareInstance] checkReBackupsFileFun];
     

+ 1 - 1
创维盒子/双子星云手机/CloudPlayer/RCCommandHelp.m

@@ -1160,7 +1160,7 @@ withType:(BOOL)isUploadType
 
 + (NSString *)applyForDownloadThumbnailFileBy:(NSString *)taskUid withFilePath:(NSString *)filePath withPosition:(long)position
 {
-    NSString *dataStr =[NSString stringWithFormat:@"{\"data\":{\"taskUid\":\"%@\",\"filePath\":\"%@\",\"width\":\"300\",\"height\":\"300\",\"position\":\"%ld\"},\"type\":\"getShotCat\"}",taskUid,filePath,position];
+    NSString *dataStr =[NSString stringWithFormat:@"{\"data\":{\"taskUid\":\"%@\",\"filePath\":\"%@\",\"width\":\"500\",\"height\":\"500\",\"position\":\"%ld\"},\"type\":\"getShotCat\"}",taskUid,filePath,position];
 
     if (USENEWCONTROLLCOMMONDNO500)
     {