Merge pull request #164 from SnapSuzun/fix-dlna-item-title

Fixed invalid torrent titles in dlna
This commit is contained in:
YouROK
2022-05-04 16:08:34 +03:00
committed by GitHub

View File

@@ -55,7 +55,7 @@ func getTorrents() (ret []interface{}) {
ID: "%2F" + t.TorrentSpec.InfoHash.HexString(),
ParentID: "%2FTR",
Restricted: 1,
Title: t.Title,
Title: strings.ReplaceAll(t.Title, "/", "|"),
Class: "object.container.storageFolder",
Icon: t.Poster,
AlbumArtURI: t.Poster,