From 9db2168dcc14a803dcd9da047ddd70e2142d82e2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 21 Jun 2025 11:57:24 +0200 Subject: Allow specification of player crop in playlist. --- src/lib/spl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/spl.cc') diff --git a/src/lib/spl.cc b/src/lib/spl.cc index ff37e5cbf..652efe5b8 100644 --- a/src/lib/spl.cc +++ b/src/lib/spl.cc @@ -47,13 +47,13 @@ SPL::read (boost::filesystem::path path, ContentStore* store) for (auto i: doc.node_children("Entry")) { if (auto cpl = i->optional_string_child("CPL")) { if (auto c = store->get_by_cpl_id(*cpl)) { - add(SPLEntry(c)); + add(SPLEntry(c, i)); } else { _missing = true; } } else { if (auto c = store->get_by_digest(i->string_child("Digest"))) { - add(SPLEntry(c)); + add(SPLEntry(c, i)); } else { _missing = true; } -- cgit v1.2.3