From eebe953ac2678656bba76e6309e10bf9743e1dc1 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Sun, 12 Jan 2025 19:53:58 +0300 Subject: [PATCH] markers reading adjustment --- app/eparser/enigma/bouquets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/eparser/enigma/bouquets.py b/app/eparser/enigma/bouquets.py index 0e5182ad..556bd148 100644 --- a/app/eparser/enigma/bouquets.py +++ b/app/eparser/enigma/bouquets.py @@ -2,7 +2,7 @@ # # The MIT License (MIT) # -# Copyright (c) 2018-2024 Dmitriy Yefremov +# Copyright (c) 2018-2025 Dmitriy Yefremov # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -276,8 +276,8 @@ def get_bouquet(path, f_name, bq_name): s_type = ServiceType(srv_data[1]) if s_type is ServiceType.MARKER: - m_data, sep, desc = srv.partition("#DESCRIPTION") - services.append(BouquetService(desc.strip() if desc else "", BqServiceType.MARKER, srv, num)) + m_data, sep, desc = srv_data[-1].partition("#DESCRIPTION") + services.append(BouquetService(desc.strip() if desc else m_data, BqServiceType.MARKER, srv, num)) elif s_type is ServiceType.SPACE: m_data, sep, desc = srv.partition("#DESCRIPTION") services.append(BouquetService(desc.strip() if desc else "", BqServiceType.SPACE, srv, num))