Opened 15 years ago
Closed 15 years ago
Last modified 15 years ago
#5915 closed defect (fixed)
mythvideo post download problem
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | major | Milestone: | 0.22 |
Component: | mythvideo | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The first poster that mythvideo downloads is ok. The second and subsequent ones download the wrong poster. I've checked the frontend log and the messages are correct as to which poster it should download. For example: Copying 'http://www.impawards.com/2003/posters/charlies_angels_full_throttle_ver1.jpg' -> '/myth/video/.covers/0305357.jpg' ....
Copying 'http://www.impawards.com/2008/posters/sex_and_the_city.jpg' -> '/myth/video/.covers/1000774.jpg'
The charlie's angel poster downloads correctly. But the second poser becomes the same as the charlie's angle poster rather than the actual one.
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | unknown → 0.22 |
---|---|
Priority: | minor → major |
The problem is that it's using the same buffer for each image without clearing it in between. So the new images are attached to the end of the old ones.
comment:3 Changed 15 years ago by
Ah, that explains the file size, why it is never the same as the first image.
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Problem ocurs in the video manager. Work around is to exit and re-enter the video manager between fetching metadata for videos, then cover art is ok.
Looked at the code, the problem is not obvious to me.