mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[99] letterboxd fix and overlay fix
This commit is contained in:
parent
3ce529014f
commit
9f81f63e89
3 changed files with 4 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.19.0-develop98
|
||||
1.19.0-develop99
|
||||
|
|
|
@ -19,7 +19,7 @@ class Letterboxd:
|
|||
letterboxd_ids = response.xpath("//li[contains(@class, 'poster-container') or contains(@class, 'film-detail')]/div/@data-film-id")
|
||||
items = []
|
||||
for letterboxd_id in letterboxd_ids:
|
||||
slugs = response.xpath(f"//div[@data-film-id='{letterboxd_id}']/@data-film-slug")
|
||||
slugs = response.xpath(f"//div[@data-film-id='{letterboxd_id}']/@data-target-link")
|
||||
comments = response.xpath(f"//div[@data-film-id='{letterboxd_id}']/parent::li/div[@class='film-detail-content']/div/p/text()")
|
||||
ratings = response.xpath(f"//div[@data-film-id='{letterboxd_id}']/parent::li/div[@class='film-detail-content']//span[contains(@class, 'rating')]/@class")
|
||||
years = response.xpath(f"//div[@data-film-id='{letterboxd_id}']/parent::li/div[@class='film-detail-content']/h2/small/a/text()")
|
||||
|
|
|
@ -386,9 +386,9 @@ class DataFile:
|
|||
if var_key.endswith(".exists"):
|
||||
con_var_value = util.parse(self.data_type, var_key, var_value, datatype="bool", default=False)
|
||||
if con_var_value:
|
||||
if var_key[:-7] not in variables or not variables[var_key[:-7]]:
|
||||
if var_key[:-7] not in variables or variables[var_key[:-7]] is None:
|
||||
error_text = "- does not exist"
|
||||
elif var_key[:-7] in variables and variables[var_key[:-7]]:
|
||||
elif var_key[:-7] in variables and variables[var_key[:-7]] is not None:
|
||||
error_text = "- exists"
|
||||
con_var_value = var_key[:-7]
|
||||
elif var_key.endswith(".not"):
|
||||
|
|
Loading…
Reference in a new issue