Skip to content

Commit

Permalink
This should fix itv and movies
Browse files Browse the repository at this point in the history
  • Loading branch information
ozankaraali committed Sep 29, 2024
1 parent 56d34be commit 981488a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion channel_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def display_categories(self, categories):
self.content_list.addItem(item)
self.back_button.setVisible(False)

def display_content(self, items, content_type="category"):
def display_content(self, items, content_type="content"):
self.content_list.clear()
for item_data in items:
item_name = item_data.get("name") or item_data.get("title")
Expand Down Expand Up @@ -576,6 +576,8 @@ def item_selected(self, item):
self.navigation_stack.append(("root", self.current_category))
self.current_category = data["data"]
self.load_content_in_category(data["data"])
elif data["type"] == "content":
self.play_item(data["data"])
elif data["type"] == "series":
if self.content_type == "series":
# For series, load seasons
Expand Down
2 changes: 1 addition & 1 deletion config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class ConfigManager:
CURRENT_VERSION = "1.5.1" # Set your current version here
CURRENT_VERSION = "1.5.2" # Set your current version here

def __init__(self):
self.config = {}
Expand Down

0 comments on commit 981488a

Please sign in to comment.