SatEurope.net
Z2U.com - IPTV
CardShare.cc
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Results 1 to 4 of 4

Thread: ║➽║E²║Plugin║➽║E2DuplicateChannelsM an.║🔴 By iet5║

  1. #1
    Super Moderator mehmetkarahanlı's Avatar
    Join Date
    29-12-2017
    Location
    bursa
    Posts
    33,094
    Uploads
    241
    Likes
    17,432

    ║➽║E²║Plugin║➽║E2DuplicateChannelsM an.║🔴 By iet5║

    E2DuplicateChannelsManager by iet5

    The plugin detects duplicate channels and removes them safely while protecting every service reference linked to a Picon file. It supports the lamedb and lamedb5 channel databases, as well as userbouquet files.

    Languages and Encoding​

    The plugin interface follows the Enigma2 language selected on the receiver.
    It safely supports Arabic channel names and all international text using Unicode and UTF-8 on both Python 2 and Python 3.
    The plugin includes many languages, such as Arabic, English, French, German, Spanish, Italian, Turkish, Persian, Russian, and others.
    New languages can also be added through standard .po and .mo translation files without modifying the plugin code.
    The plugin has been tested on the Merlin Dreambox image and the open-source OpenATV image.

    How Duplicate Channels Are Detected​

    The plugin groups channels with matching names and determines which service references should be kept according to the following rules:

    1. Each service reference is checked to determine whether it has an associated Picon file.
    2. Any service reference linked to a Picon is considered protected and will not be removed automatically.
    3. Only duplicate service references that are not linked to a Picon are removed.
    4. Removed references inside bouquet files are replaced with the service reference that has been kept.
    5. If none of the references has a Picon, the first reference found in the channel database is kept.
    6. If all references are linked to Picons, the entire group remains protected and no reference is removed.

    Channel-name comparison ignores differences in letter case, spaces, and simple separators without incorrectly merging channels that have genuinely different names.

    What Does the Plugin Do?​

    After confirming the cleanup operation, the plugin performs the following actions:

    • Replaces duplicate channel references inside userbouquet files.
    • Removes the selected references from lamedb and lamedb5.
    • Removes completely identical entries inside the same bouquet.
    • Verifies that the selected references were successfully removed after saving.
    • Automatically restores the backup if an error occurs.
    • Synchronizes the channel database with the Enigma2 memory database when supported by the installed image.

    The plugin does not delete, move, rename, copy, or modify Picon files in any way.

    Manual Scan and Review​

    From the main screen, select:
    Scan and review duplicates
    You can then select a specific satellite or scan all satellites.
    The review screen displays:

    • Channel name.
    • Total number of service references.
    • Number of references that will be removed.
    • Number of references protected by Picons.
    • The reason for keeping the selected reference: Picon or First.

    Control Buttons​

    • OK: Select or deselect the current group.
    • Blue: Select or deselect all displayed groups.
    • Yellow: Change the satellite and perform a new scan.
    • Green: Open the final preview screen.

    The preview screen displays:

    • KEEP: The service reference that will remain.
    • REMOVE: The service reference that will be deleted.

    From the preview screen, press the green button to create a backup and start the cleanup operation, or press the red button to cancel.
    A reference marked as KEEP, or a reference linked to a Picon, cannot be deleted.

    Automatic Cleanup​

    The plugin runs quietly after Enigma2 starts and monitors changes to:

    • lamedb
    • lamedb5
    • userbouquet files

    When a change is detected, the plugin waits until the files become stable and then scans for duplicate channels.
    If removable duplicate references are found, the plugin creates a backup before performing the cleanup.
    The plugin does not perform a complete scan on every startup unless the channel files have changed.
    Automatic cleanup can also be started immediately by selecting:
    Run automatic cleanup now

    Backup and Restore​

    The plugin creates a complete backup before every modification or update operation.

    The backup includes:

    • Channel databases.
    • Bouquet files.
    • Related list files.
    • Operation information.

    Backups are saved to the first available location from the following paths:
    /media/hdd
    /media/usb
    /data /tmp

    The plugin keeps the latest 12 backups inside each backup folder.
    From the main menu, you can:

    • Create a manual backup.
    • Restore a previous backup.
    • Select a different backup folder.

    Before restoring a backup, the plugin first creates a safety backup of the current configuration.
    If the cleanup operation fails, an automatic Rollback is performed using the backup created before the operation.

    Synchronization and Operation Log​

    The blue button on the main screen can be used to select:
    Sync files
    This synchronizes the channel files with the Enigma2 channel database stored in memory. It is especially useful after making changes or restoring a backup.
    The operation log can also be opened by selecting:
    View operation log
    The log file is saved at:
    /tmp/E2DuplicateChannelsManager.log

    Each log entry contains the date and time of the operation.
    The plugin keeps only the latest 24 hours of log entries and automatically removes older lines.

    Automatic Update Check at Startup​

    The plugin checks for a newer version when Enigma2 starts without blocking or slowing down the user interface.
    When a new version is available, it can be downloaded and installed directly after receiving confirmation from the user.
    Before updating:

    • A backup of the plugin files is created.
    • The package structure and version number are verified.
    • If the update fails, the currently installed version remains unchanged.
    • After a successful update, the Enigma2 graphical interface must be restarted.

    The automatic update check can be enabled or disabled from:
    Menu / Options

    Compatibility and Interface​

    The plugin uses its own internal Skin and does not depend on external screens, images, renderers, or converters from the system Skin.
    It also:

    • Supports Python 2.7 and Python 3.x, including syntax compatibility with Python 3.14.5.
    • Automatically detects DreamOS, Dreambox, and open-source images such as OpenATV, OpenPLi, OpenViX, OpenHDF, and OE-Alliance.
    • Supports both dpkg and opkg package managers

    Important Notice​

    Two channels may have the same name while providing different services, using different frequencies, or broadcasting in different quality levels.
    For this reason, it is always recommended to review the final preview screen before confirming deletion, especially when some service references are linked to Picon files.
    wget -qO- "https://raw.githubusercontent.com/Saiedf/E2DuplicateChannelsManager/main/installer_duplicatechannelsmanager_auto. sh" | /bin/sh

  2. SatEurope.net
  3. #2
    Super Moderator mehmetkarahanlı's Avatar
    Join Date
    29-12-2017
    Location
    bursa
    Posts
    33,094
    Uploads
    241
    Likes
    17,432

    Re: ║➽║E²║Plugin║➽║E2DuplicateChannelsM anage r║🔴 By iet5║

    Version 1.1.0

    Fixed the automatic update issue.
    Fixed the issue of returning to All Satellites.
    Code improvements and enhancements to increase stability and performance.

    Thanks iet5
    PHP Code:
    enigma2-plugin-extensions-e2duplicatechannelsmanager_1.1.0_all.deb 
    PHP Code:
    enigma2-plugin-extensions-e2duplicatechannelsmanager_1.1.0_all.ipk 

  4. #3
    Super Moderator mehmetkarahanlı's Avatar
    Join Date
    29-12-2017
    Location
    bursa
    Posts
    33,094
    Uploads
    241
    Likes
    17,432

    Re: ║➽║E²║Plugin║➽║E2DuplicateChannelsM an.║🔴 By iet5║

    Version 1.2.1

    This release includes several important improvements designed to make duplicate channel handling safer, while fully preserving Bouquets, channel order, and the associated Picons.

    The plugin now handles channels with updated Service References more intelligently. If a newly detected channel is identified as the same channel as an existing one but with an updated Service Reference, the plugin automatically replaces the old reference with the new one inside the bouquets, while keeping the channel in the same position and order and preserving its Picon association whenever possible.

    Key Changes in This Release:​

    • Preserve all channels inside Bouquets in their current positions and order without any changes.
    • When a channel inside a bouquet is detected with a new Service Reference, the old reference is automatically replaced with the new one.
    • Preserve channel entries and descriptions inside bouquets without deleting them during the replacement process.
    • If references become identical after replacement, the bouquet content and channel order remain unchanged without creating unnecessary modifications.
    • Improved handling of Picons when a channel's Service Reference is updated.
    • Improved Preview messages and execution results to provide clearer information about deletions, replacements, and upcoming changes.
    • Preserve channel links inside bouquets while cleaning and removing duplicate channels from the lamedb file.

    The new changes have been thoroughly tested. The plugin successfully removed the old Service Reference from the lamedb file and replaced it with the new reference inside the bouquet, while fully preserving the channel's position, order, and description.
    The main goal of version 1.2.1 is to make duplicate channel cleanup smarter and safer, allowing the channel database to be updated and duplicates removed without affecting bouquets that users have previously created or manually arranged.

    PHP Code:
    enigma2-plugin-extensions-e2duplicatechannelsmanager_1.2.1_all.ipk 
    PHP Code:
    enigma2-plugin-extensions-e2duplicatechannelsmanager_1.2.1_all.deb 

  5. Z2U.com - IPTV
  6. #4
    Super Moderator mehmetkarahanlı's Avatar
    Join Date
    29-12-2017
    Location
    bursa
    Posts
    33,094
    Uploads
    241
    Likes
    17,432

    Re: ║➽║E²║Plugin║➽║E2DuplicateChannelsM an.║🔴 By iet5║

    Version 1.2.2

    This release includes several important improvements aimed at increasing scan accuracy, preventing outdated results from appearing, and ensuring that previously deleted channels do not return. It also introduces new options for managing backups.

    Key Changes in This Release:​

    • Prevent outdated scan results:
      • The use of cache for satellite scan results has been removed from the review and deletion process.
      • Scan results now always rely on the current data and the actual files.

    • Prevent deleted channels from reappearing:
      • The plugin now reloads the channel list only from files that have been verified and processed.
      • This prevents deleted channels from reappearing after the cleanup process has been completed.

    • New backup management setting:
      • A new option has been added under:
        Menu → Options
      • Users can specify the number of backup copies to keep, from 1 to 100 backups.
      • When a new backup is created, the oldest backups are automatically deleted if the configured limit is exceeded.
      • The Left / Right arrow keys increase or decrease the number by 5 backups at a time.
      • Pressing the Green button saves the selected setting.

    The goal of this release is to improve the reliability of the scanning and cleanup process, ensure that the plugin always works with the latest channel data, and provide better and more flexible control over backup management.

    PHP Code:
    enigma2-plugin-extensions-e2duplicatechannelsmanager_1.2.2_all.ipk 
    PHP Code:
    enigma2-plugin-extensions-e2duplicatechannelsmanager_1.2.2_all.deb 

Similar Threads

  1. Update ║➽║E²║Plugin║ EPGImport Modded║v.3.5.3║🔴 By iet5║
    By mehmetkarahanlı in forum Enigma2 Plugins
    Replies: 19
    Last Post: 30-08-2026, 11:17:13
  2. Replies: 60
    Last Post: 23-08-2026, 01:19:26
  3. Update ║➽║E²║Plugin║➽║PP Channel Sync║🔴 By Pawel Pawelek║
    By mehmetkarahanlı in forum Enigma2 Plugins
    Replies: 2
    Last Post: 17-07-2026, 21:09:36
  4. Update ║➽║E²║Plugin║The Weather Moded py2-3║v.5.1║B iet5║
    By dreams@t in forum Enigma2 Plugins
    Replies: 8
    Last Post: 23-04-2026, 12:11:23
  5. Update ║➽║E²║Plugin║ OAWeather modified║v.5.1║*.B iet5║
    By mehmetkarahanlı in forum Enigma2 Plugins
    Replies: 6
    Last Post: 04-04-2026, 18:09:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •