<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
    <category label="Debug">
        <setting id="debug_logging" type="bool" label="Enable Debug Logging" default="false"/>
    </category>
    <category label="Auto-Recovery">
        <setting id="autorecovery_enabled" type="bool" label="Enable Auto-Recovery" default="true" />
        <setting id="autorecovery_retries" type="number" label="Auto-Recovery Retry Count" default="2" range="1,5" />
        <setting id="autorecovery_timeout" type="number" label="Auto-Recovery Timeout (seconds)" default="10" range="5,60" />
    </category>
    <category label="Ticker">
        <setting id="ticker_interval" type="labelenum" label="Ticker Update Interval (seconds)" values="30|60|120|180|240|300" default="300"/>
    </category>
    <category label="30000">
        <!-- <setting id="timezone" type="labelenum" label="30001" values="PDT|MDT|CDT|EDT|PST|MST|CST|EST|GUIDE TEST|GMT" default="PDT"/> -->
        <!-- <setting id="dst_enabled" type="bool" label="30002" default="false"/> -->
        <setting id="time_format" type="labelenum" label="30022" values="12h|24h" default="24h"/>
        <setting id="epg_suffix_offsets" type="text" label="EPG suffix offsets (suffix=hours, comma-separated). Example: us=0,uk=1,au=-2" default=""/>
        <setting id="epg_global_offset" type="number" label="Global EPG time offset (hours)" default="-4" range="-24,24"/>
    </category>
    <category label="LiveScore Alerts">
        <setting id="livescore_alerts_enabled" type="bool" label="Enable LiveScore Alerts Service" default="false"/>
    </category>
    <category label="30003">
        <setting id="m3u8_url" type="text" label="30004" option="hidden" visible="true" default="https://magnetic.website/jet/playlists/titan.m3u8"/>
        <setting id="xmltv_url" type="text" label="30005" visible="true"  default="https://epgshare01.online/epgshare01/epg_ripper_US2.xml.gz"/>
        
        <!-- Extra EPG sources (1-10) -->
        <setting id="epg_extra_1_url" type="text" label="Extra EPG 1 URL"  visible="true"  default="https://epgshare01.online/epgshare01/epg_ripper_FANDUEL1.xml.gz"/>
        <setting id="epg_extra_1_offset" type="number" label="Extra EPG 1 Offset (hours)" visible="true" default="4" range="-24,24"/>
        <setting id="epg_extra_2_url" type="text" label="Extra EPG 2 URL" visible="true"  default="https://epgshare01.online/epgshare01/epg_ripper_UK1.xml.gz"/>
        <setting id="epg_extra_2_offset" type="number" label="Extra EPG 2 Offset (hours)" visible="true" default="4" range="-24,24"/>
        <setting id="epg_extra_3_url" type="text" label="Extra EPG 3 URL" visible="true"  default="https://epgshare01.online/epgshare01/epg_ripper_CA2.xml.gz"/>
        <setting id="epg_extra_3_offset" type="number" label="Extra EPG 3 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_4_url" type="text" label="Extra EPG 4 URL" visible="true"  default="https://epgshare01.online/epgshare01/epg_ripper_AU1.xml.gz"/>
        <setting id="epg_extra_4_offset" type="number" label="Extra EPG 4 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_5_url" type="text" label="Extra EPG 5 URL" visible="true"  default="https://epgshare01.online/epgshare01/epg_ripper_US_LOCALS1.xml.gz"/>
        <setting id="epg_extra_5_offset" type="number" label="Extra EPG 5 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_6_url" type="text" label="Extra EPG 6 URL" visible="true"  default=""/>
        <setting id="epg_extra_6_offset" type="number" label="Extra EPG 6 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_7_url" type="text" label="Extra EPG 7 URL" visible="true"  default=""/>
        <setting id="epg_extra_7_offset" type="number" label="Extra EPG 7 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_8_url" type="text" label="Extra EPG 8 URL" visible="true"  default=""/>
        <setting id="epg_extra_8_offset" type="number" label="Extra EPG 8 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_9_url" type="text" label="Extra EPG 9 URL" visible="true"  default=""/>
        <setting id="epg_extra_9_offset" type="number" label="Extra EPG 9 Offset (hours)" visible="true" default="0" range="-24,24"/>
        <setting id="epg_extra_10_url" type="text" label="Extra EPG 10 URL" visible="true"  default=""/>
        <setting id="epg_extra_10_offset" type="number" label="Extra EPG 10 Offset (hours)" visible="true" default="0" range="-24,24"/>
    </category>
    <category label="30006">
        <setting id="m3u8_url_2" type="text" label="30007" option="hidden" visible="true"  default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/sports_schedule/playlist/schedule.m3u8"/>
        <setting id="xmltv_url_2" type="text" label="30008" option="hidden" visible="true"  default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/sports_schedule/playlist/epg.xml"/>
        
        <!-- Extra EPG sources for Guide 2 (1-10) -->
        <setting id="epg2_extra_1_url" type="text" label="Extra EPG 1 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_1_offset" type="number" label="Extra EPG 1 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_2_url" type="text" label="Extra EPG 2 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_2_offset" type="number" label="Extra EPG 2 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_3_url" type="text" label="Extra EPG 3 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_3_offset" type="number" label="Extra EPG 3 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_4_url" type="text" label="Extra EPG 4 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_4_offset" type="number" label="Extra EPG 4 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_5_url" type="text" label="Extra EPG 5 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_5_offset" type="number" label="Extra EPG 5 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_6_url" type="text" label="Extra EPG 6 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_6_offset" type="number" label="Extra EPG 6 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_7_url" type="text" label="Extra EPG 7 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_7_offset" type="number" label="Extra EPG 7 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_8_url" type="text" label="Extra EPG 8 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_8_offset" type="number" label="Extra EPG 8 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_9_url" type="text" label="Extra EPG 9 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_9_offset" type="number" label="Extra EPG 9 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
        <setting id="epg2_extra_10_url" type="text" label="Extra EPG 10 URL" option="hidden" visible="true"  default=""/>
        <setting id="epg2_extra_10_offset" type="number" label="Extra EPG 10 Offset (hours)" option="hidden" visible="true" default="0" range="-24,24"/>
    </category>
    <category label="Sports Guide">
        <setting id="ppv_url"type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_ppv.json"/>
        <setting id="include_ppv" type="bool" label="PPV" default="true"/>
        <setting id="nba_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_nba.json"/>
        <setting id="include_nba" type="bool" label="NBA" default="true"/>
        <setting id="ufc_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_ufc.json"/>
        <setting id="include_ufc" type="bool" label="UFC" default="true"/>
        <setting id="boxing_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_boxing.json"/>
        <setting id="include_boxing" type="bool" label="Boxing" default="true"/>
        <setting id="nfl_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_nfl.json"/>
        <setting id="include_nfl" type="bool" label="NFL" default="true"/>
        <setting id="mlb_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_mlb.json"/>
        <setting id="include_mlb" type="bool" label="MLB" default="true"/>
        <setting id="nhl_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_nhl.json"/>
        <setting id="include_nhl" type="bool" label="NHL" default="true"/>
        <setting id="basketball_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_basketball.json"/>
        <setting id="include_basketball" type="bool" label="Basketball" default="true"/>
        <setting id="ice_hockey_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_ice_hockey.json"/>
        <setting id="include_ice_hockey" type="bool" label="Ice Hockey" default="true"/>
        <setting id="ncaaf_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_ncaaf.json"/>
        <setting id="include_ncaaf" type="bool" label="NCAAF" default="true"/>
        <setting id="ncaab_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_ncaab.json"/>
        <setting id="include_ncaab" type="bool" label="NCAAB" default="true"/>
        <setting id="ncaa_baseball_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_ncaa_baseball.json"/>
        <setting id="include_ncaa_baseball" type="bool" label="NCAA Baseball" default="true"/>
        <setting id="wrestling_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_wrestling.json"/>
        <setting id="include_wrestling" type="bool" label="Wrestling" default="true"/>
        <setting id="soccer_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_soccer.json"/>
        <setting id="include_soccer" type="bool" label="Soccer" default="true"/>
        <setting id="england_soccer_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_england_soccer.json"/>
        <setting id="include_england_soccer" type="bool" label="England Soccer" default="true"/>
        <setting id="mls_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_mls.json"/>
        <setting id="include_mls" type="bool" label="MLS" default="true"/>
        <setting id="athletics_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_athletics.json"/>
        <setting id="include_athletics" type="bool" label="Athletics" default="true"/>
        <setting id="aussie_rules_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_aussie_rules.json"/>
        <setting id="include_aussie_rules" type="bool" label="Aussie Rules" default="true"/>
        <setting id="bowling_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_bowling.json"/>
        <setting id="include_bowling" type="bool" label="Bowling" default="true"/>
        <setting id="cfl_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_cfl.json"/>
        <setting id="include_cfl" type="bool" label="CFL" default="true"/>
        <setting id="cricket_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_cricket.json"/>
        <setting id="include_cricket" type="bool" label="Cricket" default="true"/>
        <setting id="cycling_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_cycling.json"/>
        <setting id="include_cycling" type="bool" label="Cycling" default="true"/>
        <setting id="darts_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_darts.json"/>
        <setting id="include_darts" type="bool" label="Darts" default="true"/>
        <setting id="futsal_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_futsal.json"/>
        <setting id="include_futsal" type="bool" label="Futsal" default="true"/>
        <setting id="gaa_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_gaa.json"/>
        <setting id="include_gaa" type="bool" label="GAA" default="true"/>
        <setting id="golf_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_golf.json"/>
        <setting id="include_golf" type="bool" label="Golf" default="true"/>
        <setting id="gymnastics_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_gymnastics.json"/>
        <setting id="include_gymnastics" type="bool" label="Gymnastics" default="true"/>
        <setting id="handball_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_handball.json"/>
        <setting id="include_handball" type="bool" label="Handball" default="true"/>
        <setting id="horse_racing_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_horse_racing.json"/>
        <setting id="include_horse_racing" type="bool" label="Horse Racing" default="true"/>
        <setting id="lacrosse_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_lacrosse.json"/>
        <setting id="include_lacrosse" type="bool" label="Lacrosse" default="true"/>
        <setting id="motorsport_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_motorsport.json"/>
        <setting id="include_motorsport" type="bool" label="Motorsport" default="true"/>
        <setting id="rugby_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_rugby.json"/>
        <setting id="include_rugby" type="bool" label="Rugby" default="true"/>
        <setting id="sailing_boating_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_sailing_boating.json"/>
        <setting id="include_sailing_boating" type="bool" label="Sailing/Boating" default="true"/>
        <setting id="snooker_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_snooker.json"/>
        <setting id="include_snooker" type="bool" label="Snooker" default="true"/>
        <setting id="squash_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_squash.json"/>
        <setting id="include_squash" type="bool" label="Squash" default="true"/>
        <setting id="tennis_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_tennis.json"/>
        <setting id="include_tennis" type="bool" label="Tennis" default="true"/>
        <setting id="volleyball_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_volleyball.json"/>
        <setting id="include_volleyball" type="bool" label="Volleyball" default="true"/>
        <setting id="water_sports_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_water_sports.json"/>
        <setting id="include_water_sports" type="bool" label="Water Sports" default="true"/>
        <setting id="espn_plus_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/espn_plus_guide.json"/>
        <setting id="include_espn_plus" type="bool" label="ESPN+" default="true"/>
        <setting id="events_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/events_guide.json"/>
        <setting id="include_events" type="bool" label="Events" default="true"/>

        <!--

        <setting id="alpine_ski_url" type="text" visible="false" default="https://magnetic.website/MAD_TITAN_SPORTS/SPORTS/LEAGUE/titansports_alpine_ski.json"/>
        <setting id="include_alpine_ski" type="bool" label="Alpine Ski" default="true"/>

        <setting id="auto_record" type="bool" label="Auto Record" default="false"/>
        <setting id="recording_quality" type="list" label="Recording Quality" default="high">
            <option value="low">Low</option>
            <option value="medium">Medium</option>
            <option value="high">High</option>
        </setting>

         -->
    </category>
    <category label="Last Watched">
        <setting id="max_last_watched" type="slider" label="30024" default="10" range="5,1,20" option="int"/>
        <setting id="clear_last_watched" type="action" label="30025" action="RunPlugin(plugin://plugin.video.tvguide/?action=clear_last_watched)"/>
    </category>
    <category label="External Players">
        <setting id="ffmpeg_path" type="file" label="Path to ffmpeg executable" default="C:\\ffmpeg\\bin\\ffmpeg.exe"/>
        <setting id="mpv_path" type="file" label="Path to mpv executable" default="C:\\Users\\home\\Desktop\\mpv_player\\mpv.exe"/>
        <setting id="vlc_path" type="file" label="Path to VLC executable" default="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe"/>
        <setting id="mpc_hc_path" type="file" label="Path to MPC-HC executable" default="C:\\Program Files\\MPC-HC\\mpc-hc64.exe"/>
    </category>
    <category label="External Players (Termux)">
        <setting id="android_mpv_path" type="text" label="Android mpv path (Termux)" default="/data/data/com.termux/files/usr/bin/mpv"/>
        <setting id="android_recording_path" type="text" label="Android recording folder" default="/data/data/com.termux/files/home/recordings"/>
        <setting id="android_external_player_package" type="text" label="Android external player package (e.g., com.mxtech.videoplayer.ad)" default="com.mxtech.videoplayer.ad"/>
        <setting id="android_external_player_intent" type="text" label="Android external player intent action" default="android.intent.action.VIEW"/>
    </category>
    <category label="Recording">
        <setting id="recording_path" type="folder" label="Default recording save folder" default="C:\\Users\\home\\Videos"/>
    </category>
    <category label="Android Optimization">
        <setting id="android_optimize_mode" type="bool" label="Enable Android optimization mode" default="true"/>
        <setting id="android_input_debounce_ms" type="number" label="Android input debounce (ms)" default="120" range="50,500"/>
        <setting id="android_epg_compact_mode" type="bool" label="Android compact EPG mode" default="true"/>
    </category>
    <category label="YouTube Guide">
        <setting id="youtube_sleep_time" type="labelenum" label="Sleep time between videos (seconds)" values="1|2|3|4|5|6|7|8|9|10" default="5"/>
        <setting id="youtube_genre_alternative_dance" type="bool" label="Alternative Dance" default="true"/>
        <setting id="youtube_genre_alternative_metal" type="bool" label="Alternative Metal" default="true"/>
        <setting id="youtube_genre_alternative_pop_rock" type="bool" label="Alternative Pop/Rock" default="true"/>
        <setting id="youtube_genre_alternative_rap" type="bool" label="Alternative Rap" default="true"/>
        <setting id="youtube_genre_alternative_indie_rock" type="bool" label="Alternative/Indie Rock" default="true"/>
        <setting id="youtube_genre_american_punk" type="bool" label="American Punk" default="true"/>
        <setting id="youtube_genre_arena_rock" type="bool" label="Arena Rock" default="true"/>
        <setting id="youtube_genre_college_rock" type="bool" label="College Rock" default="true"/>
        <setting id="youtube_genre_contemporary_pop_rock" type="bool" label="Contemporary Pop/Rock" default="true"/>
        <setting id="youtube_genre_contemporary_rap" type="bool" label="Contemporary Rap" default="true"/>
        <setting id="youtube_genre_contemporary_reggae" type="bool" label="Contemporary Reggae" default="true"/>
        <setting id="youtube_genre_darkwave" type="bool" label="Darkwave" default="true"/>
        <setting id="youtube_genre_death_metal" type="bool" label="Death Metal" default="true"/>
        <setting id="youtube_genre_edm" type="bool" label="EDM" default="true"/>
        <setting id="youtube_genre_electro_industrial" type="bool" label="Electro-Industrial" default="true"/>
        <setting id="youtube_genre_electro_techno" type="bool" label="Electro-Techno" default="true"/>
        <setting id="youtube_genre_electronica" type="bool" label="Electronica" default="true"/>
        <setting id="youtube_genre_emo" type="bool" label="Emo" default="true"/>
        <setting id="youtube_genre_funk" type="bool" label="Funk" default="true"/>
        <setting id="youtube_genre_goth_metal" type="bool" label="Goth Metal" default="true"/>
        <setting id="youtube_genre_goth_rock" type="bool" label="Goth Rock" default="true"/>
        <setting id="youtube_genre_hair_metal" type="bool" label="Hair Metal" default="true"/>
        <setting id="youtube_genre_hard_rock" type="bool" label="Hard Rock" default="true"/>
        <setting id="youtube_genre_hardcore_rap" type="bool" label="Hardcore Rap" default="true"/>
        <setting id="youtube_genre_heavy_metal" type="bool" label="Heavy Metal" default="true"/>
        <setting id="youtube_genre_industrial" type="bool" label="Industrial" default="true"/>
        <setting id="youtube_genre_industrial_dance" type="bool" label="Industrial Dance" default="true"/>
        <setting id="youtube_genre_industrial_metal" type="bool" label="Industrial Metal" default="true"/>
        <setting id="youtube_genre_new_wave" type="bool" label="New Wave" default="true"/>
        <setting id="youtube_genre_nu_metal" type="bool" label="Nü Metal" default="true"/>
        <setting id="youtube_genre_old_school_rap" type="bool" label="Old-School Rap" default="true"/>
        <setting id="youtube_genre_punk" type="bool" label="Punk" default="true"/>
        <setting id="youtube_genre_rap" type="bool" label="Rap" default="true"/>
        <setting id="youtube_genre_rap_rock" type="bool" label="Rap-Rock" default="true"/>
        <setting id="youtube_genre_ska" type="bool" label="Ska" default="true"/>
        <setting id="youtube_genre_ska_punk" type="bool" label="Ska-Punk" default="true"/>
        <setting id="youtube_genre_skatepunk" type="bool" label="Skatepunk" default="true"/>
    </category>
    <category label="Performance">
        <setting id="cache_duration" type="labelenum" label="EPG Cache Duration" values="6 hours|12 hours|1 day|2 days|3 days|1 week" default="6 hours"/>
        <setting id="epg_lazy_loading" type="bool" label="Enable EPG lazy loading (faster first open)" default="false"/>
        <setting id="epg_auto_refresh" type="bool" label="Auto-refresh EPG time after idle" default="true"/>
        <setting id="epg_jump_to_now" type="bool" label="On auto-refresh, jump EPG back to current time" default="true"/>
    </category>
    <category label="Widgets">
        <setting id="widgets_enabled" type="bool" label="Enable Widgets" default="true"/>
        <setting id="widgets_auto_load" type="bool" label="Auto-load widgets on startup" default="true"/>
        <setting id="widget_layout" type="labelenum" label="Widget Layout Style" values="Compact|Normal|Large" default="Normal"/>
        <!-- Live Scores Widget Settings -->
        <setting id="live_scores_enabled" type="bool" label="Enable Live Scores Widget" default="false"/>
        <!-- Individual sport toggles -->
        <setting id="ls_nfl" type="bool" label="NFL" default="true"/>
        <setting id="ls_mlb" type="bool" label="MLB" default="true"/>
        <setting id="ls_nba" type="bool" label="NBA" default="true"/>
        <setting id="ls_ncaab" type="bool" label="NCAAB (College Basketball)" default="true"/>
        <setting id="ls_wnba" type="bool" label="WNBA" default="true"/>
        <setting id="ls_nhl" type="bool" label="NHL" default="true"/>
        <setting id="ls_mls" type="bool" label="MLS" default="true"/>
        <setting id="ls_cfl" type="bool" label="CFL" default="true"/>
        <setting id="ls_la_liga" type="bool" label="La Liga" default="true"/>
        <setting id="ls_bundesliga" type="bool" label="Bundesliga" default="true"/>
        <setting id="ls_serie_a" type="bool" label="Serie A" default="true"/>
        <setting id="ls_ligue_1" type="bool" label="Ligue 1" default="true"/>
        <setting id="ls_champions_league" type="bool" label="Champions League" default="true"/>
        <!-- Legacy setting (hidden) -->
        <setting id="live_scores_sport" type="labelenum" label="Live Scores Sport" values="All|NFL|MLB|NBA|NCAAB|WNBA|NHL|MLS|CFL|La Liga|Bundesliga|Serie A|Ligue 1|Champions League" default="All" visible="false"/>
        <setting id="live_scores_refresh" type="number" label="Live Scores Refresh (minutes)" default="5" range="1,60"/>
        <setting id="live_scores_cache_ttl" type="number" label="Cache Duration (minutes)" default="5" range="1,60"/>
        <setting id="pip_enabled" type="bool" label="Enable Picture-in-Picture Preview" default="true"/>
    </category>
    <category label="EPG Categories">
        <setting id="epg_cat_us_local" type="bool" label="US LOCAL" default="true"/>
        <setting id="epg_cat_us_entertainment" type="bool" label="US Entertainment" default="true"/>
        <setting id="epg_cat_us_movies" type="bool" label="US Movies" default="true"/>
        <setting id="epg_cat_uk_entertainment" type="bool" label="UK Entertainment" default="true"/>
        <setting id="epg_cat_uk_movies" type="bool" label="UK Movies" default="true"/>
        <setting id="epg_cat_uk_music" type="bool" label="UK Music" default="true"/>
        <setting id="epg_cat_sports_networks" type="bool" label="Sports Networks" default="true"/>
        <setting id="epg_cat_sports_other" type="bool" label="Sports Networks - Other" default="false"/>
        <setting id="epg_cat_sports_bein" type="bool" label="Sports Networks - beIN" default="false"/>
        <setting id="epg_cat_sports_regional" type="bool" label="Sports Networks Regional" default="true"/>
        <setting id="epg_cat_sports_fanduel" type="bool" label="Sports Fan Duel" default="true"/>
        <setting id="epg_cat_sports_aus_fox" type="bool" label="Sports Aus Fox" default="false"/>
        <setting id="epg_cat_sports_dazn" type="bool" label="Sports DAZN" default="false"/>
        <setting id="epg_cat_news" type="bool" label="News" default="true"/>
        <setting id="epg_cat_international" type="bool" label="International" default="false"/>
    </category>
    <category label="Theme">
        <setting id="theme_choice" type="labelenum" label="Skin Theme" values="Dark|Light|Custom" default="Dark"/>
        <!-- Custom Theme Colors (shown when Custom is selected) -->
        <setting id="custom_primary_color" type="text" label="Primary Accent Color (hex - e.g., FFD700)" default="FFD700"/>
        <setting id="custom_secondary_color" type="text" label="Secondary Color (hex - e.g., FFFFFF)" default="FFFFFF"/>
        <setting id="custom_background_color" type="text" label="Background Color (hex - e.g., 000000)" default="000000"/>
        <setting id="custom_text_color" type="text" label="Text Color (hex - e.g., FFFFFFFF)" default="FFFFFF"/>
        <setting id="custom_focused_color" type="text" label="Focused Text Color (hex - e.g., FFD700)" default="FFD700"/>
        <setting id="custom_header_bg" type="text" label="Header Background (hex - e.g., 1A1A1A)" default="1A1A1A"/>
        <setting id="custom_button_bg" type="text" label="Button Background (hex - e.g., 2D2D2D)" default="2D2D2D"/>
        <setting id="custom_button_focus" type="text" label="Button Focus Color (hex - e.g., 404040)" default="404040"/>
        <setting id="custom_panel_bg" type="text" label="Panel Background (hex - e.g., 000000)" default="000000"/>
        <setting id="custom_border" type="text" label="Border Color (hex - e.g., 404040)" default="404040"/>
        <setting id="custom_highlight" type="text" label="Highlight Color (hex - e.g., FFD700)" default="FFD700"/>
        <setting id="custom_disabled" type="text" label="Disabled Color (hex - e.g., 808080)" default="808080"/>
        <setting id="custom_error" type="text" label="Error Color (hex - e.g., FF0000)" default="FF0000"/>
        <setting id="custom_success" type="text" label="Success Color (hex - e.g., 00FF00)" default="00FF00"/>
        <setting id="custom_info" type="text" label="Info Color (hex - e.g., 00BFFF)" default="00BFFF"/>
    </category>
</settings>