Skip to content

Commit

Permalink
fix: add episode number to video title in playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Oct 22, 2024
1 parent b0ae6be commit b0779a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Services/GeneratedPlaylistService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ private static string GetEpisodeEntry(UriBuilder uri, ISeries anime, IEpisode ep

uri.Path = $"{(uri.Path.Length > 1 ? uri.Path + "/" : "/")}api/v3/File/{video.ID}/Stream";
uri.Query = queryString.ToString();
return $"#EXTINF:-1,{episode.PreferredTitle}{parts}\n{uri}\n";
return $"#EXTINF:-1,{episode.PreferredTitle}{episodeNumber}{parts}\n{uri}\n";
}
}

0 comments on commit b0779a7

Please sign in to comment.