Geektoshi's avatar
Geektoshi
geek@primal.net
npub1m2jp...3wgu
If you don't believe it or don't get it, I don't have the time to try to convince you, sorry.
Geektoshi's avatar
Geek 5 months ago
In thinking about adding a music player to Bloom, I spent a bit of time looking at some relevant NIPs and I think we just keep it simple. For interoperability, NIP-78 is out of the question. NIP-33 is an interesting choice but probably not the best option. I slightly misunderstood NIP-94 a bit but adding custom tags seems to be ideal for what we want to do. Chances are, the music files have embedded ID3 tags. We write a little script that converts ID3 tags to a kind-1063 event with a similar schema and publish that event on upload. The user can, of course, update the event metadata later if they so wish. Or we just do it the manual way (probably not ideal TBH) 1. At upload time, let the user select an upload type (music, video, document to start). 2. When the user makes a selection, we offer custom fields for each of these file types (for example if music is selected, we offer Title/Artist/Album/Genre/Release Year, etc, while for document we just do maybe Title) 3. When the user selects to upload, we add the relevant data as kind-1063 events and publish to the user's relay metadata. 4. A user can later update this information by just updating with a new kind-1064 event if needed.
Geektoshi's avatar
Geek 5 months ago
Hmm NIP-94 could use some additional tags for different types of media. Surprised to see a video events NIP (71) but not a music events...let's see how this goes before I go suggesting new NIPs I guess
Geektoshi's avatar
Geek 5 months ago
Went out for a walk with the wife and thought, maybe Bloom needs some more filesharing... Share via DM might he cool. Sharing flles behind an ecash paywall might be cooler. We will see, just thinking out loud.
Geektoshi's avatar
Geek 5 months ago
Yo @vinney...axkl any updates on the bookstore? I saw something back in July but nothing since.
Geektoshi's avatar
Geek 5 months ago
Started work on music player support for Bloom this morning...lack of metadata might be annoying to make this super usable but we shall see.
Geektoshi's avatar
Geek 5 months ago
Added support for Satellite CDN to Bloom so now you can actually upload/transfer files to it instead of just viewing your media.
Geektoshi's avatar
Geek 5 months ago
Ooooh Satellite Earth has it's own API, got it...let's work on that...
Geektoshi's avatar
Geek 5 months ago
Inception time. You can now share files directly from inside Bloom. Having a simple to use manager for your Blossom and NIP-96 servers and blobs is cool, but there are use cases that haven't been explored much I guess. I have some ideas on adding music/video playlist support to Bloom for example, but there are cases where you forgot to download a file you want to share later and maybe it's just not on your mobile device. Why not just share directly from the file itself? Would love some thoughts, feature requests and bug reports/PRs. image
Geektoshi's avatar
Geek 5 months ago
Just sharing a little wallpaper so I can do some inception style post lol image
Geektoshi's avatar
Geek 5 months ago
Let's play a game...guess the hash rate of each of these workers in my solo mining pool. The winner gets 420 sats. #asknostr image
Geektoshi's avatar
Geek 5 months ago
Hey @Vitor Pamplona any chance we can choose geohash in the future when viewing "Around Me" feeds?
Geektoshi's avatar
Geek 5 months ago
Looks like I got the issue fixed for NIP-96 servers, but Primal's Blossom server is giving me shit with CORS. All working on my personal Blossom relay so on to the next thing. Oh, and added some previews for various document formats. Will probably work on audio/video player stuff next. 😇 image
Geektoshi's avatar
Geek 5 months ago
well that's fucking annoying: blossom.primal.net returns 401 with preview: 'invalid x tag': the server is rejecting the Nostr auth event we’re forwarding (it decodes the event and finds an x tag it doesn’t like). That’s coming from blossom.primal.net itself, not the proxy. Nostrcheck.me returns 500 with Error: Unexpected end of form: their backend never receives the full multipart payload (likely because it insists on a fixed content length and rejects chunked uploads).
Geektoshi's avatar
Geek 5 months ago
Hmmm so @primal won't let me upload images on the web version... Thus is new
Geektoshi's avatar
Geek 5 months ago