Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed thumbnails into media file - erroring out #231

Closed
fromnack opened this issue Apr 18, 2022 · 2 comments
Closed

Embed thumbnails into media file - erroring out #231

fromnack opened this issue Apr 18, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@fromnack
Copy link

Hi there

Tried to run the above function and I'm getting an error in the logs:
[2022-04-18 11:28:18,340: INFO/MainProcess] Task home.tasks.re_sync_thumbs[97022821-bf60-4333-90c9-7983d0cb8cf3] received [2022-04-18 11:28:18,994: ERROR/ForkPoolWorker-4] Task home.tasks.re_sync_thumbs[97022821-bf60-4333-90c9-7983d0cb8cf3] raised unexpected: AttributeError("'bool' object has no attribute 'append'") Traceback (most recent call last): File "/root/.local/lib/python3.10/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) File "/root/.local/lib/python3.10/site-packages/celery/app/trace.py", line 734, in __protected_call__ return self.run(*args, **kwargs) File "/app/home/tasks.py", line 219, in re_sync_thumbs video_list = handler.get_thumb_list() File "/app/home/src/download/thumbnails.py", line 299, in get_thumb_list pending.get_indexed() File "/app/home/src/download/queue.py", line 61, in get_indexed self.to_skip.append(video["youtube_id"]) AttributeError: 'bool' object has no attribute 'append'

I only turned on the inclusion of thumbnail in the file later in my download process, so there are a load without them; but this error is occuring on the latest docker build on Unraid.

@bbilly1
Copy link
Member

bbilly1 commented Apr 20, 2022

Thanks for bringing this to my attention. Something went wrong during refactoring.

@bbilly1 bbilly1 added the bug Something isn't working label Apr 20, 2022
bbilly1 added a commit that referenced this issue May 2, 2022
@bbilly1
Copy link
Member

bbilly1 commented May 8, 2022

Thanks for reporting. Fix is published in v0.1.5.

@bbilly1 bbilly1 closed this as completed May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants