Public Remote Media Server Project

User avatar
LMD
Member
 
Posts: 766
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: Public Remote Media Server Project

by LMD » Tue May 07, 2019 16:15

It says :
1. Put the following entries in your minetest server configuration:

enable_remote_media_server = true
remote_media = http://minetestmedia.foo-projects.org/


Is "minetest server configuration" = minetest.conf ? Is the setting "enable_remote_media_server" still required ? (I couldn't find it in the settings manager). Do I need to use "minetestserver" or shouldn't starting the server using the GUI also suffice ? Thanks in advance for your help.
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

User avatar
Walker
Member
 
Posts: 299
Joined: Tue Oct 03, 2017 09:22
In-game: Walker

Re: Public Remote Media Server Project

by Walker » Tue May 07, 2019 16:27

> Is "minetest server configuration" = minetest.conf ?

yes

> Is the setting "enable_remote_media_server" still required ?

yes

> (I couldn't find it in the settings manager).

you can simply add the line in the file

> Do I need to use "minetestserver" or shouldn't starting the server using the GUI also suffice ? Thanks in advance for your help.

you have three ways

1. > "minetestserver" in the Console
2. > "minetest" in the Console with the "--server" parameter ( this is the way, i do this ^^ )
3. > "minetest" with GUI and than > "host Server"
 

sofar
Developer
 
Posts: 2032
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Tue May 07, 2019 17:29



You should use `https` instead. (The forum lost the edits I made several weeks ago that changed it to https).

All minetest clients that support libcurl support https/SSL. Libcurl is required for remote media support in the client.
 

sofar
Developer
 
Posts: 2032
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Tue May 07, 2019 17:46

Did a little checking, and
Code: Select all
enable_remote_media_server
is only used in the *client* and not the server.

It defaults to
Code: Select all
true
already, so it can just be omitted. Therefore, the only thing you need to do for your server is to set the
Code: Select all
remote_media
option to the correct URL.
 

User avatar
Nigel
Member
 
Posts: 12
Joined: Fri May 03, 2019 09:08
GitHub: nyje
IRC: Nigel
In-game: Nigel

Re: Public Remote Media Server Project

by Nigel » Tue May 28, 2019 07:20

Hi sofar, firstly thanks for this service.

I will be giving it a try on my server W E I R D W O R L D after it's next restart, but I have many changed images and have run optipng over many of them, so I'm not sure if you will relieve my load on new users joining ;-)

But, in any case, thanks again for offering this.

Server url: minetest.e-it.gr:30003 ip: 85.159.215.153:30003
 

sofar
Developer
 
Posts: 2032
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Tue May 28, 2019 14:50

Nigel wrote:but I have many changed images and have run optipng over many of them


I would generally advise against doing this, for the very very simple reason that it usually doesn't buy you much speed anyway. If the size different is significant, it's worth submitting the changes back to the upstream mod so everyone can benefit. Then the PRMS will also get the changes again automatically.
 

User avatar
LMD
Member
 
Posts: 766
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: Public Remote Media Server Project

by LMD » Tue May 28, 2019 15:22

I would assume that this involves the common storage vs CPU trade-off - if you optimize (or even compress using for example gzip) your PNGs, you of course have less bytes to transfer, but decoding also becomes harder and takes it's time...
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

sofar
Developer
 
Posts: 2032
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Tue May 28, 2019 21:31

LMD wrote:I would assume that this involves the common storage vs CPU trade-off - if you optimize (or even compress using for example gzip) your PNGs, you of course have less bytes to transfer, but decoding also becomes harder and takes it's time...


Theoretically, but I doubt this is measurable. Most PNG's are under 1 block in size in minetest.

The biggest problem is convenience: You're essentially keeping modified files in your downloaded mods, and you'd have to redo this every time your modules update. Plus it would make the media server useless for the purpose you'd use it for.
 

User avatar
Lejo
Member
 
Posts: 623
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo
 

sofar
Developer
 
Posts: 2032
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Sun Jul 07, 2019 20:20

Lejo wrote:Your ssl certifacte is outdated please fix this!


I apologise! It's fixed now, clients should be happy again :)
 

User avatar
LMD
Member
 
Posts: 766
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: Public Remote Media Server Project

by LMD » Sun Jul 07, 2019 21:22

Lejo1 has apparently made his own Media Server implementation. Could you take a look to check if it works ?
viewtopic.php?f=14&t=22825&p=351142#p351142
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

sofar
Developer
 
Posts: 2032
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Public Remote Media Server Project

by sofar » Mon Jul 08, 2019 04:54

LMD wrote:Lejo1 has apparently made his own Media Server implementation. Could you take a look to check if it works ?
viewtopic.php?f=14&t=22825&p=351142#p351142


It looks like a garbage implementation from a 20 second glance.

He is sending each MT client that connects an 875KB file. Every, single, client, Every time they miss 1 media file. My implementation would only send ~30 bytes or so if only 1 file is needed from the server.

I ... don't understand why people are making inadequate solutions if a feature rich, open source and efficient implementation exist. A static index.mth is a ridiculous way to waste internet bandwidth and make MT clients do more work for no reason. Especially for a public service.

But, why do you ask me if it *works*? There is literally no reason for me to do so. People using the PRMS will have zero contact with his server or his implementation, and I will likely never use it. If people are stupid enough to use his remote media server, they must really not want people playing on their servers.
 

User avatar
Lejo
Member
 
Posts: 623
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: Public Remote Media Server Project

by Lejo » Mon Aug 19, 2019 08:35

It's true that my media server sends a lot unneeded data.
My Problem was just that your media server doesn't contain all medias which is partly impossible because some old images doesn't exist in any git repo.

That's the reason why I created my collection of medias. It contains all skins from here + all medias form all servers on the serverlist(Created a join bot.)

So I would like to ask you if you maybe could at these medias to your media server to make this service more useful for others.
You don't need to add it as a git repo to your list. I would add it as your media folder to the webserver and just enable media copying instead of linking.

Currently this are 64k medias of a size of 761MB
I hope you could spend this storage for much more compatible servers.
 

Previous

Return to Minetest-related projects



Who is online

Users browsing this forum: Lejo, R-One and 1 guest