JAMS LITE EDITION (music player)

Well this isn’t that, but it’s at least a little showcase for what is possible.

Introducing a little something I’ve been working on… JAMS Lite edition! :maracas:

A music/podcast player for the network.

Here is the URL with the call of the wild playlist:

all you need to do is add this at the end of the url:

?address=

So if you wanted to listen to all the call of the wild episodes that @Dimitar has kindly uploaded, you can simply do the following:

https://anttp.antsnest.site/dd5883a1420003ace38868a53ec049091ce781f498d9c39ecdb72e6ac19f7e14/jams-lite/index.html

then you would just add the following to the end of it:

?address=80ee712e865070f04d6901b1384699ffc3a8a8a626139a5a6b434613c25f0b66

That address part just points to a playlist.json file on the network. Here is what the playlist file looks like:

[

    {

"name": "The Call of the Wild part 1",

"artist": "Jack London",

"album": "Wild",

"url": "73fe2e6c496f99a7765ffdc8d4547f95514698757bf8bad3b239c68ed8f378cf",

"cover_art_url": "6fdd692169119f398ca08697f63eb6239e81ea0c406c1a2b5d0b0824adf7cb83"

    },

    {

"name": "The Call of the Wild part 2",

"artist": "Jack London",

"album": "Wild",

"url": "2a45a3eb4e9cc1cc713a1aedcb6ac2cfe1a0feb45a02aa3db4d2423dfe48f77f",

"cover_art_url": "7a4f6c94e843dcbc61453b69f62e98d50656cc73eb4482cbd278115fec860edc"

    },

    {

"name": "The Call of the Wild part 3",

"artist": "Jack London",

"album": "Wild",

"url": "e1e369105da7d93a239c96a0162a78d143653c50f9570b690c0affa081633550",

"cover_art_url": "cf43b8926af4e0a29c0b2b2b4e31644bd8bb27c3de67afa5bc6884ea4f6aa3aa"

    },

    {

"name": "The Call of the Wild part 4",

"artist": "Jack London",

"album": "Wild",

"url": "bd06692e47e98e45df8343d81568c9fe00187b2e1867d4aa9d973595019e1e9e",

"cover_art_url": "5c9ed05c80b22efd7ab402cad223af53e25d430d3706d8cb1b0fa915639e9347"

    },

    {

"name": "The Call of the Wild part 5 & 6",

"artist": "Jack London",

"album": "Wild",

"url": "078209ebf333e57d0e5e9e22192f02d7f81a15fab6b31c39066694753fc3ba34",

"cover_art_url": "4f817bf91d5324c3ffb1a1876bd390cdeec2a0dd7e2eed1678aa1779104e0fca"

    },

    {

"name": "The Call of the Wild part 7",

"artist": "Jack London",

"album": "Wild",

"url": "5944b814fe7cbf4e16cd2e6d4d3237df9361750c0e2440052bb90b2136d9c8b9",

"cover_art_url": "f56760b8e89291f845b583834d0e4b62b85a3853129010cca02e4f1d43774028"

    }

]

so the whole thing would be:

https://anttp.antsnest.site/dd5883a1420003ace38868a53ec049091ce781f498d9c39ecdb72e6ac19f7e14/jams-lite/index.html?address=80ee712e865070f04d6901b1384699ffc3a8a8a626139a5a6b434613c25f0b66

So you can easily create your own playlist.json files with links to whatever .mp3 files you upload to the network. Even better, you can just use addresses to existing content!

You can also set a cover png image for each track! If you decide not to, you can leave it empty and it will use a default one.

Side-note: For devs interested on how it works - you can view the project files on the network itself:

https://anttp.antsnest.site/dd5883a1420003ace38868a53ec049091ce781f498d9c39ecdb72e6ac19f7e14/jams-lite/

Many thanks to @Southside for all the testing, a true supporter of the network. And to @Nigel & @loziniak for pushing JAMS in the first place :flexed_biceps:

So now you can create some fun playlists to share online to different communities! If one gets popular it can bring a lot of traffic back to the network as I have an Autonomi link on the bottom of the page :saluting_face:

20 Likes

Amazing work! Very cool and super easy to use. I just clicked the link, pressed play, and it just worked.

Some feature requests:

  • A playlist editor that produces the json automatically. Ideally, with an option to save to the network (when uploads enabled).
  • A possibility to upload an archive with the json within it. Could make it easier to manage with a file container like that.

Btw, I did have an issue with chapter 1 cutting off around 4:30. It was running in a background tab in mobile chrome, which may be related (or not!). I tried it on my local termux AntTP and it read didn’t have the same issue, curiously. So, maybe a wee bug somewhere in the stack/app.

Really good to see the latesr community uploads by @Dimitar being listed too! :flexed_biceps:

11 Likes

I had the same problem, but I didn’t note what minute it was on Android, Brave.


Check out the Impossible Futures!

4 Likes

I suspect it is an issue on antsnest, which could be a caching issue on AntTP. Hard to know without the logs, but that would make sense if both of us had the same issue.

The good news is, it works fine through other AntTP instances. I’ll see if I can investigate with @Southside later!

Just listened to the first 2 chapters with local android/termux AntTP instance and it was flawless. It didn’t start chapter 2 with my screen off, but that maybe a browser thing. I’ll keep testing! :sweat_smile:

Edit: updating antnest to the latest AntTP version may help too. The latest version has the autonomi libs and some other improvements, which may help.

6 Likes

Great stuff @safemedia ! Is it possible to upload playlists created with Jams? Is playlist format compatible? Online playlists was the feature I remember we decided to not implement in Jams, glad that you brought it back!

8 Likes

@safemedia keep hacking super :ant: :star_struck:

4 Likes

Wow thats supper awesome!! Could be a similar interface be made for videos to make our own video playlists?

4 Likes

I didn’t make this as a one page application as I normally would. I just wanted to throw something simple together to show how it can be done for new developers.

I wasn’t planning on expanding this into a full product but to have it as more of a showcase.

A playlist creator could be done quite quickly though, so I might add a button that opens a playlist editor page. As for the uploading portion, I’ll leave that until we see what comes of this new payment system that is being developed.

So you mean the ability to upload an archive of songs? The issue with that is it would be nice to keep the songs individual so people can just put the same addresses into multiple different playlists.

3 Likes

I think they will be different formats. I remember that in jams itself, the format was different than plain data on the network itself. In jams lite it’s just directly pointing at files uploaded via ant up.

2 Likes

Sure I’ll create something soon, was discussing it with some others yesterday.

2 Likes

This is so frickin good. This is an easy and powerful way to showcase the Autonomi network, Jams lite can easily be showcased on social media and such. Just wish it was possible to forward and that the files loaded fully. Amazing work :heart_eyes:

3 Likes

It’s odd because yesterday I was able to skip into parts of the audio fine, and now it seems a little buggy. Will have to investigate and see if it’s something with the endpoint itself or perhaps even the network.

EDIT: Yup works fine on localhost using docker anttp. Must be something with antsnest or how the browser deals with a remote source?

1 Like

I’m so excited about this.. it could work for different file formats and serve different purposes:

  1. Songs → playlists
  2. Videos → playlists
  3. Images → Albums
  4. PDFs, documents → Manifestos :joy:
  5. etc…

Now I can clearly see a path how I could use the network with my limited knowledge:

→ upload things via Dave → create these playlists → share with my gf :grin:

6 Likes

Please share your playlist here when you create one :slight_smile:

2 Likes

Album “Legends of the Mountain” by Saykor:

https://anttp.antsnest.site/dd5883a1420003ace38868a53ec049091ce781f498d9c39ecdb72e6ac19f7e14/jams-lite/index.html?address=d918456a92f941e8a7072b0e0f90fc5948ad01dd6aed7eb7adc54b5292894ec2


Check out the Impossible Futures!

10 Likes

We are all Jams!!! Excellent work @safemedia. Absolutely amazing and this network and community are very very lucky to have you!

Love it :heart_eyes:

8 Likes

Ping me if this is still an issue

You guys are rocking it! The future of Autonomi is looking bright, wow!

4 Likes

May the Autonomi network be blessed forever :slight_smile:

3 Likes

@Southside is it possible to make the anttp.antsnest.site be a native app with Tauri? As far as I understand, now we use gateways like yours to access the network data. But if someone takes down the website, we have to use another gateway (which one?). Do we have some options of how to run things on our own PC for not very tech savvy users? I am not friend with CLI but I was able to put together a playlist and with your anttpsite share a link to that playlist.

2 Likes