From 268b50d97ca4d6907e1dbafc56dca707a1e3dc0f Mon Sep 17 00:00:00 2001 From: Schaka <2223171+Schaka@users.noreply.github.com> Date: Sat, 15 Jun 2024 01:01:35 +0200 Subject: [PATCH] [Mediaserver] Circumvent Jackson bug where class requires an empty constructor even if the object gets used in an empty list --- .../com/github/schaka/janitorr/mediaserver/library/PathInfo.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/schaka/janitorr/mediaserver/library/PathInfo.kt b/src/main/kotlin/com/github/schaka/janitorr/mediaserver/library/PathInfo.kt index 8089ab2..1172157 100644 --- a/src/main/kotlin/com/github/schaka/janitorr/mediaserver/library/PathInfo.kt +++ b/src/main/kotlin/com/github/schaka/janitorr/mediaserver/library/PathInfo.kt @@ -1,5 +1,6 @@ package com.github.schaka.janitorr.mediaserver.library data class PathInfo( - val Path: String + val Path: String, + val NetworkPath: String? = null, ) \ No newline at end of file