mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Added docs to SortEpisodesBySeason
This commit is contained in:
parent
3382eca3bd
commit
77c0ae64b4
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
// SortEpisodesBySeason sorts the given episodes by their seasons
|
||||
// SortEpisodesBySeason sorts the given episodes by their seasons.
|
||||
// Note that the same episodes just with different audio locales will cause problems
|
||||
func SortEpisodesBySeason(episodes []*crunchyroll.Episode) [][]*crunchyroll.Episode {
|
||||
sortMap := map[string]map[int][]*crunchyroll.Episode{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue