some thumbnails show broken on initial channel load #863
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Osprey
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
resilience
Tom's Wishlist
type: bug
type: discussion
type: error handling
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spee.ch#863
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When loading a channel the speech instance has not loaded before, thumbnails are hit and miss, and show up broken.
getClaimAndServeAsset()
asks local db.File for a fileRecord, which fails on first request. It sets NO_FILE which causes 307 redirect to api/claim/get{$claimName}/${claimId}).claimGet() completes the get and returns success, but the NO_FILE error never actually tries serveAsset after initiating claimGet().
For images, we're using the actual claim (embedUrl), rather than the external thumbnail url, which means that showing even the channel page means downloading all claims that are images in that channel. This will have to be checked against pagination: A channel with 1000 images could pose a problem if it gets all of them at once.
I have some concern whether it's wise to implement the "get all image claims on this page" solution before connection management is in the sdk. We may just ensure a default thumbnail (rather than a broken one) is displayed, for now. Comments?