mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Merge pull request #164 from SnapSuzun/fix-dlna-item-title
Fixed invalid torrent titles in dlna
This commit is contained in:
@@ -55,7 +55,7 @@ func getTorrents() (ret []interface{}) {
|
|||||||
ID: "%2F" + t.TorrentSpec.InfoHash.HexString(),
|
ID: "%2F" + t.TorrentSpec.InfoHash.HexString(),
|
||||||
ParentID: "%2FTR",
|
ParentID: "%2FTR",
|
||||||
Restricted: 1,
|
Restricted: 1,
|
||||||
Title: t.Title,
|
Title: strings.ReplaceAll(t.Title, "/", "|"),
|
||||||
Class: "object.container.storageFolder",
|
Class: "object.container.storageFolder",
|
||||||
Icon: t.Poster,
|
Icon: t.Poster,
|
||||||
AlbumArtURI: t.Poster,
|
AlbumArtURI: t.Poster,
|
||||||
|
|||||||
Reference in New Issue
Block a user