<?xml version='1.0' encoding='UTF-8'?>
<addon id="plugin.video.onhockey" name="OnHockey" version="2.9.1" provider-name="Educational Project">
    <requires>
        <import addon="xbmc.python" version="3.0.0" />
        <import addon="script.module.requests" version="2.22.0" />
        <import addon="script.module.beautifulsoup4" version="4.9.3" />
        <import addon="script.module.inputstream.adaptive" optional="true" />
        <import addon="script.module.dateutil" version="2.8.1" />
    </requires>
    <extension point="xbmc.python.pluginsource" library="default.py">
        <provides>video</provides>
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary lang="en_GB">Hockey Schedule Viewer - Educational Project</summary>
        <description lang="en_GB">
EDUCATIONAL PURPOSE ONLY - NOT FOR DISTRIBUTION

This addon is created solely for educational purposes to demonstrate:
- Web scraping techniques
- Kodi addon development
- Stream extraction methods
- Python programming practices

IMPORTANT LEGAL NOTICE:
This addon may access copyrighted content. The developer does not host, provide, or control any of the content. Users are responsible for ensuring they have the legal right to access any streams in their jurisdiction. This addon is for educational/learning purposes only and should not be distributed publicly.

Features:
- View hockey game schedules
- Parse web content
- Demonstrate Kodi integration

By using this addon, you acknowledge that:
1. This is for educational purposes only
2. You understand the legal implications
3. You will not distribute this addon
4. You are responsible for your own actions
    </description>
        <disclaimer lang="en_GB">This addon is for educational purposes only. It may access third-party content which may be copyrighted. Use at your own risk and ensure compliance with your local laws.</disclaimer>
        <platform>all</platform>
        <license>GPL-2.0-or-later</license>
        <forum />
        <website />
        <email />
        <source>https://github.com/educational/not-for-distribution</source>
        <news>v2.9.1 (2026-02-06)
Updated to latest OnHockey changes

v2.9.0 (2026-02-06)
Updated to latest OnHockey changes

v2.8.9 (2026-02-06)
Updated to latest OnHockey changes

v2.8.8 (2026-02-06)
Updated to latest OnHockey changes

v2.8.7 (2026-02-06)
Updated to latest OnHockey changes

v2.8.6 (2025-11-22)
Updated to latest OnHockey changes

v2.8.5 (2025-11-22)
Updated to latest OnHockey changes

v2.8.4 (2025-11-22)
Updated to latest OnHockey changes

v2.8.3 (2025-11-22)
Updated to latest OnHockey changes

v2.8.2 (2025-11-22)
Updated to latest OnHockey changes

v2.8.1 (2025-11-21)
Updated to latest OnHockey changes

v2.8.0 (2025-11-20)
Updated to latest OnHockey changes

v2.7.1 (2025-11-20)
Updated to latest OnHockey changes

v2.7.0 (2025-11-20)
Updated to latest OnHockey changes

v2.6.1 (2025-11-20)
Updated to latest OnHockey changes

v2.6.0 (2025-11-20)
Updated to latest OnHockey changes

v2.5.5 (2025-11-20)
Updated to latest OnHockey changes

v2.5.4 (2025-11-18)
Updated to latest OnHockey changes

v2.5.3 (2025-11-18)
Updated to latest OnHockey changes

v2.5.2 (2025-11-18)
Updated to latest OnHockey changes

v2.5.1 (2025-11-18)
Fixed multiple streams detection - now shows all providers not just first one

v2.5.0 (2025-11-18)
Updated to latest OnHockey changes

v2.4.0 (2025-11-18)
Updated to latest OnHockey changes

v2.3.2 (2025-11-18)
Updated to latest OnHockey changes

v2.3.1 (2025-11-18)
Updated to latest OnHockey changes

v2.4.0 (2025-11-18)
Updated to latest OnHockey changes

v2.3.1 (2025-11-18)
Updated to latest OnHockey changes

v2.3.1 (2025-11-18)
Updated to latest OnHockey changes

v2.3.1 (2025-11-18)
Updated to latest OnHockey changes

v2.2.3 (2025-11-18)
Updated to latest OnHockey changes

v2.2.2 (2025-11-17)
Updated to latest OnHockey changes

v2.2.1 (2025-01-17)
- Added country codes to league names (e.g. "KHL - RU")
- League icons now display in Kodi interface
- All data extracted dynamically from HTML - no hardcoding
- Country codes extracted from tbody class attribute
- League icons extracted from background attribute

v2.2.0 (2025-01-17)
- Enhanced m3u8 extraction - returns ONLY direct playable links
- FluidTV support - extracts m3u8 from channel parameter
- SportsBro support - follows redirects and extracts m3u8
- All embed pages are now fetched and parsed for m3u8
- VOODC resolver enhanced for better m3u8 extraction
- Improved Base64 decoding for hidden m3u8 URLs

v2.1.0 (2025-01-17)
- Added VOODC stream resolver
- Dynamic league name extraction from HTML
- Show stream counts for each match
- Display provider names instead of generic "Source 1"
- Fetch data from schedule_table.php endpoint

v2.0.1 (2025-01-16)
- Initial educational release
- Schedule parsing implementation
- Stream extraction capability
- Educational documentation included</news>
        <assets>
            <icon>resources/icon.png</icon>
            <fanart>resources/fanart.jpg</fanart>
        </assets>
    </extension>
</addon>
