瀏覽代碼

音频预览播放后,最近文件未显示

huangxiaodong 1 年之前
父節點
當前提交
9992b5b031
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      创维盒子/双子星云手机/Class/Set/previewFile/audioPlayerViewController.m

+ 4 - 3
创维盒子/双子星云手机/Class/Set/previewFile/audioPlayerViewController.m

@@ -826,9 +826,9 @@
     //HLog(@"df_player progress hxd  _ind:%ld ---- %ld",_lastAudioIndex,player.currentAudioModel.audioId);
     if(_lastAudioIndex != player.currentAudioModel.audioId)
     {
-//        _lastAudioIndex = player.currentAudioModel.audioId;
-//        _index = _lastAudioIndex;
-//        HLog(@"df_player progress hxd  _ind:setTitleFunByIndex");
+        _lastAudioIndex = player.currentAudioModel.audioId;
+        _index = _lastAudioIndex;
+//       HLog(@"df_player progress hxd  _ind:setTitleFunByIndex");
 //        [self setTitleFunByIndex];
         [self audioPlayerByIndex:_lastAudioIndex];
         
@@ -836,6 +836,7 @@
         [self startPlayingRotateRightImage];
     }
     
+    //尝试强行修改 歌曲名 后续有时间优化
     _lastAudioIndex = player.currentAudioModel.audioId;
     _index = _lastAudioIndex;
     HLog(@"df_player progress hxd  _ind:setTitleFunByIndex");