Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NickWaterton committed Dec 20, 2024
1 parent 26a14dd commit b997cea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions example/manual_slideshow.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/usr/bin/env python3
import argparse
import logging
import os
import sys

sys.path.append("../")

from samsungtvws import SamsungTVWS, exceptions, __version__

Expand Down Expand Up @@ -51,7 +47,7 @@ def get_tv_content(self, category='MY-C0002'):
use 10 second timeout in case tv has a lot of content (tv.art(10))
'''
try:
result = [v['content_id'] for v in self.tv.art().available(category)]
result = [v['content_id'] for v in self.tv.art(10).available(category)]
except AssertionError:
self.log.warning('failed to get contents from TV')
result = None
Expand Down

0 comments on commit b997cea

Please sign in to comment.