frametv-art-gallery icon indicating copy to clipboard operation
frametv-art-gallery copied to clipboard

[BUG] TV's gallery images aren't loading

Open momania opened this issue 3 months ago • 5 comments

After the update it seems for every action I need to approve permission on the TV. Also it doesn't load the images from the tv.

[2026-08-23 13:17:38,150] ERROR in app: Timeout while fetching TV gallery: Timeout after 20s while fetching gallery images from TV 192.168.100.43
Traceback (most recent call last):
  File "/app/utils/frame_tv.py", line 334, in _tv_call
    result = future.result(timeout=deadline)
  File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 462, in result
    raise TimeoutError()
TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/app.py", line 964, in api_get_tv_gallery
    images = get_tv_gallery_images(ip, token=tv.token)
  File "/app/utils/frame_tv.py", line 771, in get_tv_gallery_images
    return _tv_call(ip, "fetching gallery images from", action, token=token)
  File "/app/utils/frame_tv.py", line 341, in _tv_call
    raise FrameTVTimeoutError(
        f"Timeout after {deadline}s while {action_description} TV {ip}"
    ) from err
utils.frame_tv.FrameTVTimeoutError: Timeout after 20s while fetching gallery images from TV 192.168.100.43

Is there some way to reset the local credentials? Or something else that can be tried?

momania avatar Aug 23 '26 11:08 momania

Ok, removing the TV, and re-adding it again, fixed the approval issue, but the error loading the TV gallery still persists.

momania avatar Aug 23 '26 11:08 momania

Ok, removing the TV, and re-adding it again, fixed the approval issue, but the error loading the TV gallery still persists.

Okay, that’s good :) The gallery error isn’t really an error. Your TV just didn’t respond before the request timed out. I try to optimize this, unfortunately some Frame TV are very slow :(

mrtncode avatar Aug 23 '26 12:08 mrtncode

Yes they are notoriously slow :-(

Let me know if I can help out by testing a release candidate for instance.

momania avatar Aug 23 '26 12:08 momania

@momania I think i found the error. frametv-art-gallery fetches not only the user images, it fetched some samsung art too. I now removed these requests and my TV are working now. It will be available in the next release so you can test it out :)


If this helped, consider giving the repo a star on GitHub and spreading the word! Every star and share helps the project to get bigger.

mrtncode avatar Aug 25 '26 15:08 mrtncode

Good catch!

momania avatar Aug 26 '26 05:08 momania