Browse documentation

emby.wiki · DOCUMENTATION

Setting Up Emby with Xiaoya Alist

Guides to Emby features, configuration, and usage.

📘Introduction#

This tutorial shows how to build the media library that 95% of people need at the lowest possible cost, so you can avoid being overcharged by the many Emby services on the market. If the completed setup already meets your needs. Xiaoya Alist is an extensive resource library containing audio, video, ebooks, games, documents, sports, traditional opera, and much more. It supports private deployment on NAS devices, OpenWrt, VPS servers, and many other devices that support Docker. This guide shows how to deploy Xiaoya Alist on your own server (VPS). The procedure is deliberately straightforward and requires only basic knowledge. It supports Android, Android TV, and Apple platforms; client software only needs WebDAV support.

🧰Prerequisites#

  1. Project website

https://alist.xiaoya.pro/

  1. Xiaoya Alist script manager

https://github.com/DDS-Derek/xiaoya-alist

  1. A server (VPS). Approximate cost: an inexpensive VPS can cost about US$1 per month, some VPS options may even be free, and premium VPS pricing has no upper limit. This VPS is used only for connection and storage access, so it does not need especially powerful specifications.
    Search Google or ask on the NodeSeek forum for purchasing instructions.
    At minimum, confirm that the VPS is directly reachable and responds to ping.

  2. An Aliyun Drive account with at least 300 GB of capacity

Register here

I. 🔧Begin Setup#

Before starting, obtain three required parameters.

ItemCorresponding fileHow to obtain it
token/etc/xiaoya/mytoken.txt1. https://aliyuntoken.vercel.app/ 2. https://alist.nn.ci/zh/guide/drivers/aliyundrive.htm
open token/etc/xiaoya/myopentoken.txthttps://alist.nn.ci/tool/aliyundrive/request.html
folder ID for the transfer directory/etc/xiaoya/temp_transfer_folder_id.txtOpen your Aliyun Drive, select the resource library, create a directory named xiaoya-alist, and open it. The value after resource is the required directory ID: 661baa3dc1b0152612024677b17f647e77719add

Examples:

token:


bc99c5821e03401cba317de708218903

open token


eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI1NzEzYzQ1YTdmZjc0N2RhYjc1Zjg3MTk5ZDY2MTlkNyIsImF1ZCI6Ijc2OTE3Y2NjY2Q0NDQxYzM5NDU3YTA0ZjYwODRmYjJmIiwiZXhwIjoxNzI1MjgwODgxLCJpYXQiOjE3MTc1MDQ4ODEsImp0aSI6IjVkZjUxNzQzMDVjOTQ3ZTZhNWE2ODI2N2JiNWMyODgwIn0.ijPNdHOdisdO7uqPB4pAj6IIyfso6ygKkUhb4D7yRoT7Bnw2vX3zZLTCk_9DCA-Yp0aJtPgxbU8UoYqcqQhk8g

temp_transfer_folder_id


665f0ba4402b96d221d845cdbb2333ea5d2041af

II. 🔗Server-Side Operations (Connect Through SSH)#

2.1 Connect through SSH.
See this guide, then create the directory.


mkdir /etc/xiaoya ;cd /etc/xiaoya # Create a directory and enter it

2.2 Create the files. Replace the tokens inside them with your own.


echo 'bc99c5821e03401cba317de708218903' >> /etc/xiaoya/mytoken.txt


echo 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI1NzEzYzQ1YTdmZjc0N2RhYjc1Zjg3MTk5ZDY2MTlkNyIsImF1ZCI6Ijc2OTE3Y2NjY2Q0NDQxYzM5NDU3YTA0ZjYwODRmYjJmIiwiZXhwIjoxNzI1MjgwODgxLCJpYXQiOjE3MTc1MDQ4ODEsImp0aSI6IjVkZjUxNzQzMDVjOTQ3ZTZhNWE2ODI2N2JiNWMyODgwIn0.ijPNdHOdisdO7uqPB4pAj6IIyfso6ygKkUhb4D7yRoT7Bnw2vX3zZLTCk_9DCA-Yp0aJtPgxbU8UoYqcqQhk8g' >> /etc/xiaoya/myopentoken.txt


echo '665f0ba4402b96d221d845cdbb2333ea5d2041af' >> /etc/xiaoya/temp_transfer_folder_id.txt

2.3 Deploy the Docker environment. Skip this step if Docker is already installed.

Docker installation script:


bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh)

2.4 Run the one-click installation script.


bash -c "\$(curl --insecure -fsSL https://ddsrem.com/xiaoya_install.sh)"

Choose the installation options that meet your needs.

2.5 Open the web page.

ip

You must open the firewall port.

III. 🧹Configure Automatic Cleanup of the Aliyun Drive Cache#


bash -c "\$(curl --insecure -fsSL https://ddsrem.com/xiaoya_install.sh)"

To clean cached files automatically, you can install the Xiaoya Assistant option 4.

IV. 📺Use with TVBox#

4.1 TVBox endpoint:

http://ip:5678/tvbox/my.json

5.1 TVBox multi-repository endpoint:

http://ip:5678/tvbox/juhe.json

V. 🌉Connect Other Software Through WebDAV#

WebDAV username and password:


Username: guest

Password: guest_Api789

Path: /dav

Server address:

Example: http://192.168.1.8:5678/dav

Supported software includes SenPlayer, Filebar, the various TVBox variants, AfuseKt, AGCPlayer, and others.

emby.wikiGuides to Emby features, configuration, and usage.Copyright © 2024–2026 emby.wiki. All rights reserved.