This commit is contained in:
Pirates IRC authored and GitHub committed 2026-03-11 17:37:34 -05:00
1 parent c1135eb8a0
commit ca19976ff7
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "Stream-Mapparr", "name": "Stream-Mapparr",
"version": "0.8.0a", "version": "0.8.0b",
"description": "Automatically add matching streams to channels based on name similarity and quality precedence. Supports unlimited stream matching, channel visibility management, and CSV export cleanup.", "description": "Automatically add matching streams to channels based on name similarity and quality precedence. Supports unlimited stream matching, channel visibility management, and CSV export cleanup.",
"author": "community", "author": "community",
"help_url": "https://github.com/PiratesIRC/Stream-Mapparr", "help_url": "https://github.com/PiratesIRC/Stream-Mapparr",
+3 -3
View File
@@ -58,7 +58,7 @@ class PluginConfig:
""" """
# === PLUGIN METADATA === # === PLUGIN METADATA ===
PLUGIN_VERSION = "0.8.0a" PLUGIN_VERSION = "0.8.0b"
FUZZY_MATCHER_MIN_VERSION = "25.358.0200" # Requires custom ignore tags Unicode fix FUZZY_MATCHER_MIN_VERSION = "25.358.0200" # Requires custom ignore tags Unicode fix
# === MATCHING SETTINGS === # === MATCHING SETTINGS ===
@@ -1066,7 +1066,7 @@ class Plugin:
def _get_all_streams(self, logger): def _get_all_streams(self, logger):
"""Fetch all streams via Django ORM, returning dicts compatible with existing processing logic.""" """Fetch all streams via Django ORM, returning dicts compatible with existing processing logic."""
return list(Stream.objects.all().values( return list(Stream.objects.all().values(
'id', 'name', 'm3u_account', 'channel_group', 'group_title' 'id', 'name', 'm3u_account', 'channel_group', 'channel_group__name'
)) ))
def _get_all_m3u_accounts(self, logger): def _get_all_m3u_accounts(self, logger):
@@ -1076,7 +1076,7 @@ class Plugin:
def _get_stream_groups(self, logger): def _get_stream_groups(self, logger):
"""Fetch distinct stream group titles via Django ORM.""" """Fetch distinct stream group titles via Django ORM."""
group_titles = Stream.objects.values_list('group_title', flat=True).distinct() group_titles = Stream.objects.values_list('channel_group__name', flat=True).distinct()
return [g for g in group_titles if g] return [g for g in group_titles if g]
def _trigger_frontend_refresh(self, settings, logger): def _trigger_frontend_refresh(self, settings, logger):