#6 DMR Decoder (#947)

* #6 DMR decoder feature - work in progress

* #6 DMR Decoder.

* #6 DMR Decoder.  Code review updates.

Co-authored-by: Zhenyu Mao <maozhenyu@foxmail.com>
Co-authored-by: Denny <denny@denny-desktop>
This commit is contained in:
Denny Sheirer
2020-10-12 04:57:59 -04:00
committed by GitHub
parent b061db1189
commit 7eec82deee
436 changed files with 36258 additions and 2409 deletions

View File

@@ -21,6 +21,7 @@
*/
package io.github.dsheirer.playlist;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.dataformat.xml.JacksonXmlModule;
@@ -244,7 +245,8 @@ public class PlaylistManager implements Listener<ChannelEvent>
JacksonXmlModule xmlModule = new JacksonXmlModule();
xmlModule.setDefaultUseWrapper(false);
ObjectMapper objectMapper = new XmlMapper(xmlModule);
ObjectMapper objectMapper = new XmlMapper(xmlModule)
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
try(InputStream in = Files.newInputStream(path))
{
@@ -483,7 +485,8 @@ public class PlaylistManager implements Listener<ChannelEvent>
JacksonXmlModule xmlModule = new JacksonXmlModule();
xmlModule.setDefaultUseWrapper(false);
ObjectMapper objectMapper = new XmlMapper(xmlModule);
ObjectMapper objectMapper = new XmlMapper(xmlModule)
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
try(InputStream in = Files.newInputStream(files.getPlaylist()))
{
@@ -505,7 +508,8 @@ public class PlaylistManager implements Listener<ChannelEvent>
JacksonXmlModule xmlModule = new JacksonXmlModule();
xmlModule.setDefaultUseWrapper(false);
ObjectMapper objectMapper = new XmlMapper(xmlModule);
ObjectMapper objectMapper = new XmlMapper(xmlModule)
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
try(InputStream in = Files.newInputStream(files.getLegacyPlaylist()))
{