mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
fix info and shrink m3u
This commit is contained in:
@@ -12,6 +12,11 @@ func AddInfo(hash, info string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
infoe := GetInfo(hash)
|
||||
if infoe != "{}" {
|
||||
return nil // already filled
|
||||
}
|
||||
|
||||
hash = strings.ToUpper(hash)
|
||||
return db.Update(func(tx *bolt.Tx) error {
|
||||
|
||||
Reference in New Issue
Block a user