Skip to content

Commit 8ee1bd0

Browse files
committed
chore:m3u logo
1 parent 017e808 commit 8ee1bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def convert_to_m3u(first_channel_name=None):
358358
user_final_file = resource_path(config.final_file)
359359
if os.path.exists(user_final_file):
360360
with open(user_final_file, "r", encoding="utf-8") as file:
361-
m3u_output = '#EXTM3U x-tvg-url="https://live.fanmingming.cn/e.xml"\n'
361+
m3u_output = '#EXTM3U x-tvg-url="https://raw.githubusercontent.com/fanmingming/live/main/e.xml"\n'
362362
current_group = None
363363
for line in file:
364364
trimmed_line = line.strip()
@@ -378,7 +378,7 @@ def convert_to_m3u(first_channel_name=None):
378378
+ ("+" if m.group(3) else ""),
379379
first_channel_name if current_group == "🕘️更新时间" else original_channel_name,
380380
)
381-
m3u_output += f'#EXTINF:-1 tvg-name="{processed_channel_name}" tvg-logo="https://live.fanmingming.cn/tv/{processed_channel_name}.png"'
381+
m3u_output += f'#EXTINF:-1 tvg-name="{processed_channel_name}" tvg-logo="https://raw.githubusercontent.com/fanmingming/live/main/tv/{processed_channel_name}.png"'
382382
if current_group:
383383
m3u_output += f' group-title="{current_group}"'
384384
m3u_output += f",{original_channel_name}\n{channel_link}\n"

0 commit comments

Comments
 (0)