Commit Graph

63 Commits

Author SHA1 Message Date
Claude
03b8bfc31e Add emojis, fix visibility logic, and add WebSocket notifications
Changes:
- Add tasteful emojis to plugin GUI fields and action labels
- Fix bug: iterate sorted_channels instead of group_channels (line 1411)
- Fix visibility logic: enable channels with >= 1 streams instead of 0-1
  * Channels with >= 1 streams are now enabled (highest priority only)
  * Channels with 0 streams are disabled
  * Duplicate channels (lower priority in group) are disabled
  * Attached channels remain disabled
- Add real-time WebSocket progress notifications for:
  * Preview Changes action (stream_mapparr_preview)
  * Add Streams to Channels action (stream_mapparr_add)
  * Manage Channel Visibility action (stream_mapparr_visibility)
- Update action descriptions to reflect corrected behavior

This resolves the contradiction where add_streams_to_channels would
create channels with multiple streams, and manage_channel_visibility
would immediately disable them.
2025-11-06 13:11:31 +00:00
Pirates IRC
8b75a7e296 Merge pull request #3 from PiratesIRC/claude/debug-stream-count-error-011CUm6dug1DMDcmxEoHQcXB
Fix KeyError: 'stream_count' in manage_channel_visibility
2025-11-03 08:22:04 -06:00
Claude
331355e846 Fix KeyError: 'stream_count' in manage_channel_visibility
Root cause: Lines 1414-1415 were trying to access non-existent fields
'stream_count' and 'attached' directly from channel objects. These values
are actually stored in the channel_stream_counts dictionary and
channels_attached_to_others set respectively.

Changes:
- Fixed field access to use correct data structures
- Added error handling to check if channel exists in stream_counts
- Added debug logging to show evaluation details for each channel
- Added full traceback logging in exception handler for better debugging

This fixes the error: "Error managing channel visibility: 'stream_count'"
2025-11-03 14:20:05 +00:00
Pirates IRC
ac6f377636 0.5.0a 2025-11-03 08:16:16 -06:00
Pirates IRC
09d1651a14 v0.4 2025-10-31 16:06:38 -05:00
Pirates IRC
b296babff2 Revise README for improved clarity and detail
Updated README to enhance clarity and detail regarding plugin features, installation, and usage instructions.
2025-10-31 16:06:00 -05:00
Pirates IRC
faa35afebe Update README.md 2025-10-24 06:47:40 -05:00
Pirates IRC
5b51c64ced v0.3 2025-10-24 06:37:21 -05:00
Pirates IRC
85225fcf50 Update README.md 2025-10-09 11:46:18 -05:00
Pirates IRC
6430fe0745 v0.2 2025-10-09 11:30:19 -05:00
Pirates IRC
a07dda69ee Initial 2025-10-01 19:01:07 -05:00
Pirates IRC
80e3e5c7d3 Update README.md 2025-10-01 19:00:19 -05:00
Pirates IRC
fae5e86b25 Initial commit 2025-10-01 18:55:11 -05:00