Detailed process of using edna and HighSlide to build your own media server in Ubuntu. Edna is a Python-written media server. It supports MP3 stream playback and can output m3u stream playback files to automatically enable the remote machine to play the files on the server and automatically display the image files under the specified directory. It is a very good media server. Check the effect: first, decompress the package to a directory after the download is complete. It is very simple to run. Pythonedna. py or./edna. py
Detailed process of using edna and HighSlide to build your own media server in Ubuntu.
Edna is a Python-written media server. It supports MP3 stream playback and can output m3u stream playback files to automatically enable the remote machine to play the files on the server and automatically display the image files under the specified directory. It is a very good media server.
See the results:
First, decompress the package to a directory.
It is very simple to run.
Python edna. py or
./Edna. py
In this way, you can open the browser and enter http: // server IP: 8080 to browse the Web page.
Edna control files are all in edna. conf.
1. Configure the edna display directory-[sources] section.
Locate the [sources] section and add your own directory, for example
Dir1 =/mnt/cdrom = MP3 CDROM
Dir2 =/mp3/all-albums = Jukebox
In this way, the files under/mnt/cdrom and/mp3/all-albumns are displayed.
Now restart edna and you can view it in the browser.
2. configure a webpage template-[server] Section
[Server]
# Port
Port = 8080
# Configure the template directory
Template-dir = templates
# Configure the icon directory
Resource-dir = resources
# Configure the Html template. It seems that the Python EZT template is used.
Template = default. ezt
# If you want to display the MP3 TAG information, configure Other templates
# Template = default_complex.ezt
3. Security System Configuration-[acl]
[Acl]
# Configure the password encryption method. If not, the password is displayed in the configuration file:
# Password_hash = md5
# Password_hash = sha
# Configure a machine that can be logged on
Allow = host1, host2, host3/24,123.123 .123.123, 2.2.2.2/11
# Configuring accounts and passwords
Auth = aUser1: aPass1, aUser2: aPass2
# Configure whether to restrict access to directories
#0 Only check '/'
#1 Check for all directory indexes (default)
#2 Check for all requests
# Auth_level = 2