Skip to content

Commit 5726c4c

Browse files
committed
Unescape html entities #123
1 parent 5976716 commit 5726c4c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

utils/jellyfin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import requests
2+
import html
23
from loguru import logger
34
from base64 import b64encode
45
import json
@@ -147,6 +148,7 @@ def add_item_to_collection(self, collection_id: str, item, year_filter: bool = T
147148
'''Adds an item to a collection based on item name and release year'''
148149

149150
item["media_type"] = self.imdb_to_jellyfin_type_map.get(item["media_type"], item["media_type"])
151+
item["title"] = html.unescape(item["title"])
150152

151153
params = {
152154
"enableTotalRecordCount": "false",

0 commit comments

Comments
 (0)