|
|
|
|
@ -674,6 +674,7 @@ public class SourceViewModel extends ViewModel { |
|
|
|
|
result.put("url", url); |
|
|
|
|
} |
|
|
|
|
result.put("proKey", progressKey); |
|
|
|
|
result.put("subtKey", subtitleKey); |
|
|
|
|
result.put("playUrl", playUrl); |
|
|
|
|
result.put("flag", playFlag); |
|
|
|
|
playResult.postValue(result); |
|
|
|
|
@ -704,6 +705,7 @@ public class SourceViewModel extends ViewModel { |
|
|
|
|
JSONObject result = new JSONObject(json); |
|
|
|
|
result.put("key", url); |
|
|
|
|
result.put("proKey", progressKey); |
|
|
|
|
result.put("subtKey", subtitleKey); |
|
|
|
|
if (!result.has("flag")) |
|
|
|
|
result.put("flag", playFlag); |
|
|
|
|
playResult.postValue(result); |
|
|
|
|
|