lbryio / lbry-sdk

The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
https://lbry.com
MIT License
7.2k stars 483 forks source link

Sometimes `lbrynet get` reponse has blank `suggested_file_name` and incorrect `"mime_type": "application/octet-stream"` #3681

Closed keikari closed 1 year ago

keikari commented 1 year ago

Seems to happen for all recent manual uploads on Odysee. (Not seeing with published livestreams nor synced videos, nor with the uploads from the LBRY app)

Some examples: lbry://@EAKoetting:1/black-magicians-handbook-conner-kendall:a lbry://@Channel:c7/20220929_231654:d

Both have these in the output of lbrynet get

"mime_type": "application/octet-stream", 
"stream_name": "",
"suggested_file_name": "",

metadata.source in the output does have the expected values

"media_type": "video/mp4",
"name": "20220929_231654.mp4",
tzarebczan commented 1 year ago

We recently started using stream create with manual SD hash and metadata, and these seem to be the ones that break. All relevant fields should already be there.