Use edna and HighSlide to create your own media server in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.