Skip to content

Commit

Permalink
Added: Some debugging to Videoland.
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Sep 11, 2024
1 parent 2122696 commit f8feff7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions channels/channel.videoland/videolandnl/chn_videolandnl.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ def filter_premium(self) -> Optional[bool]:

def update_video_item(self, item: MediaItem) -> MediaItem:
data = JsonHelper(UriHandler.open(item.url, additional_headers=self.httpHeaders))
from resources.lib.logger import Logger
import json
Logger.debug(json.dumps(data.json, indent=2))
video_info = data.get_value("blocks", 0, "content", "items", 0, "itemContent", "video")

# Find the first Dash item for DRM info (assuming they are all equally DRM-ed).
Expand Down

0 comments on commit f8feff7

Please sign in to comment.