Public Remote Media Server Project

User avatar
LMD
Member
 
Posts: 735
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: 235
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: 2001
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: 2001
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.
 

Nigel
New member
 
Posts: 2
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: 2001
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: 735
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: 2001
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.
 

Previous

Return to Minetest-related projects



Who is online

Users browsing this forum: No registered users and 1 guest