make guid unique from nyaa

main v0.0.2
Gabe Farrell 3 months ago
parent f81b25a8e5
commit 0c23dbd12b

@ -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,

@ -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…
Cancel
Save