Develop and Download Open Source Software

Browse Subversion Repository

Diff of /NNDDv2/trunk/src/org/mineap/nndd/player/PlayerController.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 652 by mineap, Tue Sep 6 05:04:11 2011 UTC revision 662 by mineap, Sat Oct 1 09:52:35 2011 UTC
# Line 912  package org.mineap.nndd.player Line 912  package org.mineap.nndd.player
912                                  renewDownloadManager.renewForOtherVideo(UserManager.instance.user,                                  renewDownloadManager.renewForOtherVideo(UserManager.instance.user,
913                                          UserManager.instance.password, PathMaker.getVideoID(videoId), videoName,                                          UserManager.instance.password, PathMaker.getVideoID(videoId), videoName,
914                                          new File(videoPath.substring(0, videoPath.lastIndexOf("/")+1)),                                          new File(videoPath.substring(0, videoPath.lastIndexOf("/")+1)),
915                                          videoInfoView.isAppendComment, null, (FlexGlobals.topLevelApplication as NNDD).getSaveCommentMaxCount());                                          videoInfoView.isAppendComment, null, (FlexGlobals.topLevelApplication as NNDD).getSaveCommentMaxCount(),
916                                            FlexGlobals.topLevelApplication.getUseOldTypeCommentGet());
917                          }else{                          }else{
918                                  renewDownloadManager.renewForCommentOnly(UserManager.instance.user,                                  renewDownloadManager.renewForCommentOnly(UserManager.instance.user,
919                                          UserManager.instance.password, PathMaker.getVideoID(videoId), videoName,                                          UserManager.instance.password, PathMaker.getVideoID(videoId), videoName,
920                                          new File(videoPath.substring(0, videoPath.lastIndexOf("/")+1)),                                          new File(videoPath.substring(0, videoPath.lastIndexOf("/")+1)),
921                                          videoInfoView.isAppendComment, null, (FlexGlobals.topLevelApplication as NNDD).getSaveCommentMaxCount());                                          videoInfoView.isAppendComment, null, (FlexGlobals.topLevelApplication as NNDD).getSaveCommentMaxCount(),
922                                            FlexGlobals.topLevelApplication.getUseOldTypeCommentGet());
923                          }                          }
924                  }                  }
925                                    
# Line 996  package org.mineap.nndd.player Line 998  package org.mineap.nndd.player
998                                  // 過去コメント取得時のコメント更新は一律で追記。                                  // 過去コメント取得時のコメント更新は一律で追記。
999                                  renewDownloadManagerForOldComment.renewForCommentOnly(UserManager.instance.user,                                  renewDownloadManagerForOldComment.renewForCommentOnly(UserManager.instance.user,
1000                                          UserManager.instance.password, videoId, videoName, videoPath, true,                                          UserManager.instance.password, videoId, videoName, videoPath, true,
1001                                          date, maxCount);                                          date, maxCount, FlexGlobals.topLevelApplication.getUseOldTypeCommentGet());
1002                                                                    
1003                          }                          }
1004                                                    
# Line 3918  package org.mineap.nndd.player Line 3920  package org.mineap.nndd.player
3920                                                  nnddDownloaderForStreaming.addEventListener(NNDDDownloader.WATCH_FAIL, getFailListener);                                                  nnddDownloaderForStreaming.addEventListener(NNDDDownloader.WATCH_FAIL, getFailListener);
3921                                                  nnddDownloaderForStreaming.addEventListener(NNDDDownloader.DOWNLOAD_PROCESS_ERROR, streamingPlayFailListener);                                                  nnddDownloaderForStreaming.addEventListener(NNDDDownloader.DOWNLOAD_PROCESS_ERROR, streamingPlayFailListener);
3922                                                  nnddDownloaderForStreaming.addEventListener(NNDDDownloader.DOWNLOAD_PROCESS_CANCELD, streamingPlayFailListener);                                                  nnddDownloaderForStreaming.addEventListener(NNDDDownloader.DOWNLOAD_PROCESS_CANCELD, streamingPlayFailListener);
3923                                                  nnddDownloaderForStreaming.requestDownloadForStreaming(UserManager.instance.user, UserManager.instance.password, PathMaker.getVideoID(url), tempDir, videoInfoView.isAlwaysEconomyForStreaming);                                                  nnddDownloaderForStreaming.requestDownloadForStreaming(UserManager.instance.user,
3924                                                            UserManager.instance.password,
3925                                                            PathMaker.getVideoID(url),
3926                                                            tempDir,
3927                                                            videoInfoView.isAlwaysEconomyForStreaming,
3928                                                            FlexGlobals.topLevelApplication.getUseOldTypeCommentGet());
3929                                                                                                    
3930                                          }catch(e:Error){                                          }catch(e:Error){
3931                                                  videoPlayer.label_downloadStatus.text = "";                                                  videoPlayer.label_downloadStatus.text = "";

Legend:
Removed from v.652  
changed lines
  Added in v.662

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26