mirror of
https://github.com/gabehf/sonarr-seadex-proxy.git
synced 2026-03-07 13:38:17 -08:00
make guid unique from nyaa
This commit is contained in:
parent
f81b25a8e5
commit
0c23dbd12b
2 changed files with 3 additions and 3 deletions
4
main.go
4
main.go
|
|
@ -72,7 +72,7 @@ var (
|
||||||
|
|
||||||
// --- Main --- //
|
// --- Main --- //
|
||||||
func main() {
|
func main() {
|
||||||
log.Println("SonarrSeaDexProxy v0.0.1")
|
log.Println("SonarrSeaDexProxy v0.0.2")
|
||||||
port := "6778"
|
port := "6778"
|
||||||
|
|
||||||
http.HandleFunc("/api", apiHandler)
|
http.HandleFunc("/api", apiHandler)
|
||||||
|
|
@ -215,7 +215,7 @@ func handleTVSearch(w http.ResponseWriter, r *http.Request) {
|
||||||
Title: title,
|
Title: title,
|
||||||
GUID: GUID{
|
GUID: GUID{
|
||||||
IsPerma: "false",
|
IsPerma: "false",
|
||||||
Value: nyaa.GUID,
|
Value: "seadex+" + nyaa.GUID,
|
||||||
},
|
},
|
||||||
Link: br.DownloadURL,
|
Link: br.DownloadURL,
|
||||||
Size: br.Size,
|
Size: br.Size,
|
||||||
|
|
|
||||||
2
release.sh
Normal file → Executable file
2
release.sh
Normal file → Executable file
|
|
@ -6,7 +6,7 @@
|
||||||
# commit changes
|
# commit changes
|
||||||
# push commit
|
# push commit
|
||||||
# run script
|
# run script
|
||||||
version=0.0.1
|
version=0.0.2
|
||||||
image_name=gabehf/sonarr-seadex-proxy
|
image_name=gabehf/sonarr-seadex-proxy
|
||||||
|
|
||||||
git tag v$version
|
git tag v$version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue