Commit 58f1a79136a55a7cd1593c95b56ddadcc2225b61
1 parent
211fd98c
取出打包测试与优化路径查询
Showing
2 changed files
with
8 additions
and
1 deletions
pom.xml
| ... | ... | @@ -84,6 +84,13 @@ |
| 84 | 84 | <target>1.8</target> |
| 85 | 85 | </configuration> |
| 86 | 86 | </plugin> |
| 87 | + <plugin> | |
| 88 | + <groupId>org.apache.maven.plugins</groupId> | |
| 89 | + <artifactId>maven-surefire-plugin</artifactId> | |
| 90 | + <configuration> | |
| 91 | + <skipTests>true</skipTests> | |
| 92 | + </configuration> | |
| 93 | + </plugin> | |
| 87 | 94 | </plugins> |
| 88 | 95 | </build> |
| 89 | 96 | ... | ... |
src/main/java/top/panll/assist/service/VideoFileService.java
| ... | ... | @@ -224,7 +224,7 @@ public class VideoFileService { |
| 224 | 224 | startTimeStr, endTimeStr); |
| 225 | 225 | |
| 226 | 226 | File recordFile = new File(userSettings.getRecord()); |
| 227 | - File streamFile = new File(recordFile.getAbsolutePath() + File.separator + app + File.separator + stream); | |
| 227 | + File streamFile = new File(recordFile.getAbsolutePath() + File.separator + app + File.separator + stream + File.separator); | |
| 228 | 228 | if (!streamFile.exists()) { |
| 229 | 229 | logger.warn("获取[app: {}, stream: {}, statime: {}, endTime: {}]的视频时未找到目录: {}", app, stream, |
| 230 | 230 | startTimeStr, endTimeStr, stream); | ... | ... |