Just drafted a NIP for audio files, interested in feedback nostr:nprofile1qyw8wumn8ghj7cn4vd4k2apwvdhhyctrd3jjuum0vd5kzmp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qpqyfg0d955c2jrj2080ew7pa4xrtj7x7s7umt28wh0zurwmxgpyj9ssqqr8g nostr:nprofile1qyw8wumn8ghj7cn4vd4k2apwvdhhyctrd3jjuum0vd5kzmp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qpqxv6axulxcx6mce5mfvfzpsy89r4gee3zuknulm45cqqpmyw7680qn02qk6 nostr:nprofile1qyw8wumn8ghj7cn4vd4k2apwvdhhyctrd3jjuum0vd5kzmp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qpqyauhh489aefdkzsewe5vj2u68elzxlsln7nn5yxr34e3c22vljdq3ajwwm

https://github.com/nostr-protocol/nips/pull/1043

Reply to this note

Please Login to reply.

Discussion

Oh πŸ‘€

πŸ‘‚

Hmmm interesting …. I wonder if we are going to end up with a nip for every file extension in the future?

Also, why is this only audio? Why not make it Audio /Video and add a tag for A or V under the same kind?

Also, this seems like a very good place to add a tag for file format no?

A/V tags are just a sub-namespace, so you might as well use a different kind (there's a PR out for video events right now). The kind is less about file format than use case β€” the video PR for example has different kinds for vertical vs horizontal videos.

Exciting.

Been asking about video kinds for quite a while now, just never got feedback. So I went a different direction for now. Will be glad when something gets standardized.

There's something in the works over at https://github.com/nostr-protocol/nips/pull/923

πŸ‘€

We've been wanting to collab with a client dev on this for a while so this is great to see, happy to talk through. Another option to consider instead of a NIP is standardizing on the structure of an event for media. One big reason for this is it could be a lot more flexible for a variety of media types by using the MIME standard as a descriptor. We wrote this up close to a year ago but I think it's worth a look (it's also what we use to feed Wavman): https://github.com/wavlake/nom-spec

Can you describe some use cases that this would enable?

I personally want to add a music feed from a pubkey (or list) to groups in Coracle. I would pull from wavlake, but there's no way I know of to filter by pubkey because they publish on behalf of their artists. Zapstr does pretty close to what I want, so I drafted the NIP using their event kind with compatible tags.

the nostr events from creators on wavlake are not signed or associated with the artist but a wavlake key?

Yep, because most artists on wavlake don't have nostr accounts

Which is preferable to wavlake generating a bunch of private keys on their behalf probably.

makes sense

We have the same end goal. In the meantime I think that creator tag in your proposal could be a good enough bridge to enable what you'd like to do (which is follow and filter by artists, I think) until we get there