Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

SoundBytez.io API integration #333

Closed
1 of 2 tasks
btzr-io opened this issue Feb 16, 2019 · 11 comments
Closed
1 of 2 tasks

SoundBytez.io API integration #333

btzr-io opened this issue Feb 16, 2019 · 11 comments

Comments

@btzr-io
Copy link
Owner

btzr-io commented Feb 16, 2019

Decentralized Music Sharing - https://soundbytez.io/

The API integration of soundBytez.io should make possible the following features:

  • Sharing / embedded content.
  • Streaming (free claims).
@kcseb
Copy link

kcseb commented Feb 16, 2019

Once my team and I get the code base sorted regarding uploading and embedding audio types, I will look further into integrating the two services. Our priority at the moment is to get SoundBytez in an operational state before looking for any integration or third-party interaction.

Will keep this updated as we move forward, Thank you!

@kcseb
Copy link

kcseb commented Feb 25, 2019

In the current state of SoundBytez, I believe we would be willing to start talk of API integration. At the moment, it would be limited to sharing the content.

We are still working on embedding content using an audio-player in JSX.

What all would you need from us (at SoundBytez) to begin integration with Jelly Beats?

@kcseb
Copy link

kcseb commented Feb 25, 2019

Update: We've added the ability to playback embedded audio. We pulled a piece that was claimed on Jelly Beats (https://soundbytez.io/@FeralLogic:e/FeralLogic0x0001) and successfully played it back on SoundBytez.

As I asked before, what all would you need from us to begin integration with Jelly Beats?

Let us know, Thank you!

@btzr-io
Copy link
Owner Author

btzr-io commented Feb 26, 2019

@kcseb Hi, I'm stuck refactoring the track list component so I can't get much integrated until I finish that..
I'm guessing soundbytez follows the same api as spee.ch, and looks like the direct link is working so I think I can work with that for now ✌️

@btzr-io
Copy link
Owner Author

btzr-io commented Feb 26, 2019

Also I been looking for a way to extend the claim metadata and support something similar like https://en.wikipedia.org/wiki/ID3

@kcseb So far the only decentralized way to achieve this that I know is to include the additional metadata inside the claim description.

@btzr-io
Copy link
Owner Author

btzr-io commented Feb 28, 2019

Never mind, there is going to be new metadata for claims and channels 👍

@kcseb
Copy link

kcseb commented Mar 4, 2019

Regarding metadata;

SoundBytez is currently pulling the claim author (spee.ch channel name) and claim name (spee.ch claim/file name) as the "track artist" and "track title".

This can be seen on our new audio-player on mostly any claim that has been published from a channel.

If the person has not uploaded to a channel, it will simply display "No Music Artist Found".

We're likely going to add a message on the upload prompt urging individuals to publish to channels/collections to better help the overall design.

Edit to show examples;

Anonymous Upload - Displays "No Music Artist Found" but displays the file name/track name.
https://soundbytez.io/4/anon-upload-test

Channeled Upload - Displays @FeralLogic for the artist name and FeralLogic0x0001 for the track name.
https://soundbytez.io/@FeralLogic:e/FeralLogic0x0001

@btzr-io btzr-io mentioned this issue Mar 5, 2019
@btzr-io
Copy link
Owner Author

btzr-io commented Mar 9, 2019

@kcseb Hi, I'm now working on this (streaming) and just have some questions:

  • Are you using the same api routes as spee.ch?
  • What happens if the file is not ready yet on soundbytez? Do I need to wait until the file is fully downloaded or does it start streaming right a way?

Anyway if your api is similar to spee.ch, this should work:
https://soundbytez.io/${channelName}:${channelId}/${name}.mp3

@kcseb
Copy link

kcseb commented Mar 9, 2019

Yes, we are using the same API as spee.ch.

If a file is not available yet on SoundBytez, it will not play, same as Spee.ch.

If you're referring to download availability, you wont have to wait for the full download to finish, it will begin playing whatever is available in the buffer as it becomes available.

Regarding direct URI, your syntax is correct.
Example; https://soundbytez.io/@FeralLogic:e/FeralLogic0x0001.mpga

@btzr-io
Copy link
Owner Author

btzr-io commented Mar 9, 2019

@kcseb Awesome thanks, I'm almost done just a few minor changes left ✌️

@btzr-io
Copy link
Owner Author

btzr-io commented May 24, 2019

This is already implemented but will be replaced by: #441

@btzr-io btzr-io closed this as completed May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants