mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
fix(makhno): correct season numbering to start from 1
This commit is contained in:
parent
e5e3b38122
commit
0b881bffbb
@ -245,10 +245,11 @@ namespace Makhno
|
|||||||
if (!string.IsNullOrEmpty(episode.File))
|
if (!string.IsNullOrEmpty(episode.File))
|
||||||
{
|
{
|
||||||
string streamUrl = BuildStreamUrl(init, episode.File);
|
string streamUrl = BuildStreamUrl(init, episode.File);
|
||||||
|
int seasonNumber = season + 1;
|
||||||
episode_tpl.Append(
|
episode_tpl.Append(
|
||||||
episode.Title,
|
episode.Title,
|
||||||
title ?? original_title,
|
title ?? original_title,
|
||||||
season.ToString(),
|
seasonNumber.ToString(),
|
||||||
(i + 1).ToString("D2"),
|
(i + 1).ToString("D2"),
|
||||||
streamUrl
|
streamUrl
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user