|
@ -65,12 +65,9 @@ public class ZLMRunner implements CommandLineRunner { |
|
|
saveZLMConfig(); |
|
|
saveZLMConfig(); |
|
|
mediaServerConfig = getMediaServerConfig(); |
|
|
mediaServerConfig = getMediaServerConfig(); |
|
|
storager.updateMediaInfo(mediaServerConfig); |
|
|
storager.updateMediaInfo(mediaServerConfig); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public MediaServerConfig getMediaServerConfig() { |
|
|
public MediaServerConfig getMediaServerConfig() { |
|
|
JSONObject responseJSON = zlmresTfulUtils.getMediaServerConfig(); |
|
|
JSONObject responseJSON = zlmresTfulUtils.getMediaServerConfig(); |
|
|
MediaServerConfig mediaServerConfig = null; |
|
|
MediaServerConfig mediaServerConfig = null; |
|
|