cancel
Showing results for 
Search instead for 
Did you mean: 

When a plan comes together.

Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

I've been asked this before @DaveyH and as you say there is a plethora of them, any combination of which would serve my needs, so I'll refer you to this link.

As you can see it's taken time for me make a start the coding and I only got around to that last weekend. As is mentioned in the link it is a reinvention of the wheel, but for my needs I feel it's justified.

Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

Yep me again! Well I've successfully managed to play some tracks from the server using a test client that connects to the server, requests the track and sends the data to the client a buffer at a time, where the client plays it, and all done using Web Sockets.

media-client.png

The next step is to do this in JavaScript, but first I need to brush up on my SVG as I'm using this to create the UI for the Player that will be embedded in the page.

Highlighted
Community Veteran
Posts: 15,273
Thanks: 1,124
Fixes: 14
Registered: ‎01-08-2007

Re: When a plan comes together.

Must be said accessing files over a network connection is incredibly handy isn't it. I frequently VPN into my PC at home (eg when at school waiting in the car for the little'uns to turnn out). I could certainly think of a few uses for a server / client thing.. in fact i've been working on a server / client combination in delphi for a few years which will be a template for my other projects.

I need a new signature... i'm bored of the old one!
Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

I have to agree @7up, without the Client / Server paradigm life would very different, where would we be now without the internet? Good luck with your own project.

Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

Time has moved and and I've made some more progress on this I'm pleased to say. I took inspiration from Amazon's Prime Music adding my own (track) recommender, but using a (up to 5) star rating system and so far the recommendations being made are quite acceptable.

Highlighted
Aspiring Legend
Posts: 12,285
Thanks: 4,238
Fixes: 1
Registered: ‎04-11-2014

Re: When a plan comes together.

Maybe it was out of... curiosity.

Such things are way over my head anyway. 


Compare yourself to who you were yesterday, not who somebody else is today
Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

Not following @Minivanman I'm confused.

Highlighted
Aspiring Legend
Posts: 12,285
Thanks: 4,238
Fixes: 1
Registered: ‎04-11-2014

Re: When a plan comes together.

@Mook 

Just suggesting in response to DaveyH that even though other 'ready made' methods are available you were just curious?

Nothing negative meant. 

Like either buying or baking a cake - but that's probably not a good analogy. 🙂


Compare yourself to who you were yesterday, not who somebody else is today
Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

Again, things have move on for those that are even remotely interested. This is the player UI as it currently stands, with views running on Desktop and and iPhone.

Player-UI.pngiPhone-UI.png

I've still some polishing to do but it's getting there.

Highlighted
Aspiring Legend
Posts: 12,285
Thanks: 4,238
Fixes: 1
Registered: ‎04-11-2014

Re: When a plan comes together.

Looking good @Mook 


Compare yourself to who you were yesterday, not who somebody else is today
Highlighted
Community Veteran
Posts: 15,273
Thanks: 1,124
Fixes: 14
Registered: ‎01-08-2007

Re: When a plan comes together.


@Mook wrote:

Also the code runs in parallel using 4 threads so it does take a bit of time when run on a single thread.


Why only 4 threads?

I need a new signature... i'm bored of the old one!
Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

@7up As that is what a Raspberry Pi 4 has. Wink

 

Highlighted
All Star
Posts: 588
Thanks: 377
Fixes: 1
Registered: ‎27-12-2019

Re: When a plan comes together.

UI.png

Highlighted
Community Veteran
Posts: 20,290
Thanks: 2,842
Fixes: 41
Registered: ‎06-11-2007

Re: When a plan comes together.

Very Swish !  Smiley