diff --git a/ythdd_inv_tl.py b/ythdd_inv_tl.py index cd9ce53..c191803 100644 --- a/ythdd_inv_tl.py +++ b/ythdd_inv_tl.py @@ -886,8 +886,10 @@ def playlists(data, req, only_json: bool = False): plid = data[3] - if len(plid) not in (34, 36): - print("error(playlists): len(plid) is not 34 or 36...!") + # no info about what length can playlists be + # settle for a basic sanity check instead + # if len(plid) not in (18, 34, 36): + if not plid.startswith("PL"): response = {"error": "Only standard playlists are currently supported (no mixes, video-based playlists, etc.)"} if only_json: return response