Skip to content

Commit

Permalink
Include a note if in the comicinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Fesaa committed Jul 5, 2024
1 parent 484a513 commit 585fcdd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mangadex/manga.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import (
"time"
)

const comicInfoNote = "This comicinfo.xml was auto generated by Media-Provider, with information from mangadex. Source code can be found here: https://github.com/Fesaa/Media-Provider/"

var volumeRegex = regexp.MustCompile(".* Vol\\. (\\d+).cbz")

type mangaImpl struct {
Expand Down Expand Up @@ -408,6 +410,8 @@ func (m *mangaImpl) comicInfo(chapter ChapterSearchData) *comicinfo.ComicInfo {
}
return n, true
}), ",")

ci.Notes = comicInfoNote
return ci
}

Expand Down

0 comments on commit 585fcdd

Please sign in to comment.