diff --git a/apps/navidrome/README.md b/apps/navidrome/README.md new file mode 100644 index 00000000..43b2ff0d --- /dev/null +++ b/apps/navidrome/README.md @@ -0,0 +1,93 @@ +# 使用说明 + +容器以普通用户身份运行的, + +但是默认面板创建应用时,可能会将所需的数据文件夹设定身份为`root`,导致首次运行异常。 + +不用在意,执行以下命令,将文件夹改成普通用户身份,再重建应用即可。 + +- 路径注意按需修改 +``` +chown -R 1000:1000 /opt/1panel/apps/local/navidrome/navidrome/data +``` + +# 原始相关 + +Navidrome logo + +# Navidrome Music Server  [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Tired%20of%20paying%20for%20music%20subscriptions%2C%20and%20not%20finding%20what%20you%20really%20like%3F%20Roll%20your%20own%20streaming%20service%21&url=https://navidrome.org&via=navidrome) + +[![Last Release](https://img.shields.io/github/v/release/navidrome/navidrome?logo=github&label=latest&style=flat-square)](https://github.com/navidrome/navidrome/releases) +[![Build](https://img.shields.io/github/actions/workflow/status/navidrome/navidrome/pipeline.yml?branch=master&logo=github&style=flat-square)](https://nightly.link/navidrome/navidrome/workflows/pipeline/master) +[![Downloads](https://img.shields.io/github/downloads/navidrome/navidrome/total?logo=github&style=flat-square)](https://github.com/navidrome/navidrome/releases/latest) +[![Docker Pulls](https://img.shields.io/docker/pulls/deluan/navidrome?logo=docker&label=pulls&style=flat-square)](https://hub.docker.com/r/deluan/navidrome) +[![Dev Chat](https://img.shields.io/discord/671335427726114836?logo=discord&label=discord&style=flat-square)](https://discord.gg/xh7j7yF) +[![Subreddit](https://img.shields.io/reddit/subreddit-subscribers/navidrome?logo=reddit&label=/r/navidrome&style=flat-square)](https://www.reddit.com/r/navidrome/) +[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0-ff69b4.svg?style=flat-square)](CODE_OF_CONDUCT.md) + +Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your +music collection from any browser or mobile device. It's like your personal Spotify! + + +**Note**: The `master` branch may be in an unstable or even broken state during development. +Please use [releases](https://github.com/navidrome/navidrome/releases) instead of +the `master` branch in order to get a stable set of binaries. + +## [Check out our Live Demo!](https://www.navidrome.org/demo/) + +__Any feedback is welcome!__ If you need/want a new feature, find a bug or think of any way to improve Navidrome, +please file a [GitHub issue](https://github.com/navidrome/navidrome/issues) or join the discussion in our +[Subreddit](https://www.reddit.com/r/navidrome/). If you want to contribute to the project in any other way +([ui/backend dev](https://www.navidrome.org/docs/developers/), +[translations](https://www.navidrome.org/docs/developers/translations/), +[themes](https://www.navidrome.org/docs/developers/creating-themes)), please join the chat in our +[Discord server](https://discord.gg/xh7j7yF). + +## Installation + +See instructions on the [project's website](https://www.navidrome.org/docs/installation/) + +## Cloud Hosting + +[PikaPods](https://www.pikapods.com) has partnered with us to offer you an +[officially supported, cloud-hosted solution](https://www.navidrome.org/docs/installation/managed/#pikapods). +A share of the revenue helps fund the development of Navidrome at no additional cost for you. + +[![PikaPods](https://www.pikapods.com/static/run-button.svg)](https://www.pikapods.com/pods?run=navidrome) + +## Features + + - Handles very **large music collections** + - Streams virtually **any audio format** available + - Reads and uses all your beautifully curated **metadata** + - Great support for **compilations** (Various Artists albums) and **box sets** (multi-disc albums) + - **Multi-user**, each user has their own play counts, playlists, favourites, etc... + - Very **low resource usage** + - **Multi-platform**, runs on macOS, Linux and Windows. **Docker** images are also provided + - Ready to use binaries for all major platforms, including **Raspberry Pi** + - Automatically **monitors your library** for changes, importing new files and reloading new metadata + - **Themeable**, modern and responsive **Web interface** based on [Material UI](https://material-ui.com) + - **Compatible** with all Subsonic/Madsonic/Airsonic [clients](https://www.navidrome.org/docs/overview/#apps) + - **Transcoding** on the fly. Can be set per user/player. **Opus encoding is supported** + - Translated to **various languages** + +## Documentation +All documentation can be found in the project's website: https://www.navidrome.org/docs. +Here are some useful direct links: + +- [Overview](https://www.navidrome.org/docs/overview/) +- [Installation](https://www.navidrome.org/docs/installation/) + - [Docker](https://www.navidrome.org/docs/installation/docker/) + - [Binaries](https://www.navidrome.org/docs/installation/pre-built-binaries/) + - [Build from source](https://www.navidrome.org/docs/installation/build-from-source/) +- [Development](https://www.navidrome.org/docs/developers/) +- [Subsonic API Compatibility](https://www.navidrome.org/docs/developers/subsonic-api/) + +## Screenshots + +

+ + + + +

diff --git a/apps/navidrome/data.yml b/apps/navidrome/data.yml new file mode 100644 index 00000000..90c2b8c3 --- /dev/null +++ b/apps/navidrome/data.yml @@ -0,0 +1,20 @@ +name: Navidrome Music Server +tags: + - 工具 +title: 基于 Web 的开源音乐收藏服务器和流媒体 +type: 工具 +description: 基于 Web 的开源音乐收藏服务器和流媒体 +additionalProperties: + key: navidrome + name: Navidrome Music Server + tags: + - Tool + shortDescZh: 基于 Web 的开源音乐收藏服务器和流媒体 + shortDescEn: An open source web-based music collection server and streamer + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://www.navidrome.org + github: https://github.com/navidrome/navidrome + document: https://www.navidrome.org/docs \ No newline at end of file diff --git a/apps/navidrome/latest/.env.sample b/apps/navidrome/latest/.env.sample new file mode 100644 index 00000000..8363430b --- /dev/null +++ b/apps/navidrome/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="navidrome" +PANEL_APP_PORT_HTTP="40108" +DATA_PATH="./data/data" +MUSIC_PATH="./data/music" diff --git a/apps/navidrome/latest/data.yml b/apps/navidrome/latest/data.yml new file mode 100644 index 00000000..b48221bb --- /dev/null +++ b/apps/navidrome/latest/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40108 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP端口 + required: true + rule: paramPort + type: number + - default: ./data/data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text + - default: ./data/music + edit: true + envKey: MUSIC_PATH + labelEn: Music folder path + labelZh: 音乐文件夹路径 + required: true + type: text diff --git a/apps/navidrome/latest/docker-compose.yml b/apps/navidrome/latest/docker-compose.yml new file mode 100644 index 00000000..0368ad79 --- /dev/null +++ b/apps/navidrome/latest/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' +services: + navidrome: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:4533" + volumes: + - "${DATA_PATH}:/data" + - "${MUSIC_PATH}:/music:ro" + environment: + ND_SCANSCHEDULE: 1h + ND_LOGLEVEL: info + ND_SESSIONTIMEOUT: 24h + ND_BASEURL: "" + user: 1000:1000 + image: deluan/navidrome:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/navidrome/logo.png b/apps/navidrome/logo.png new file mode 100644 index 00000000..7abd45d4 Binary files /dev/null and b/apps/navidrome/logo.png differ diff --git a/apps/navidrome/pr-2295/.env.sample b/apps/navidrome/pr-2295/.env.sample new file mode 100644 index 00000000..8363430b --- /dev/null +++ b/apps/navidrome/pr-2295/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="navidrome" +PANEL_APP_PORT_HTTP="40108" +DATA_PATH="./data/data" +MUSIC_PATH="./data/music" diff --git a/apps/navidrome/pr-2295/data.yml b/apps/navidrome/pr-2295/data.yml new file mode 100644 index 00000000..b48221bb --- /dev/null +++ b/apps/navidrome/pr-2295/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40108 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP端口 + required: true + rule: paramPort + type: number + - default: ./data/data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text + - default: ./data/music + edit: true + envKey: MUSIC_PATH + labelEn: Music folder path + labelZh: 音乐文件夹路径 + required: true + type: text diff --git a/apps/navidrome/pr-2295/docker-compose.yml b/apps/navidrome/pr-2295/docker-compose.yml new file mode 100644 index 00000000..ab30e8b1 --- /dev/null +++ b/apps/navidrome/pr-2295/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' +services: + navidrome: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:4533" + volumes: + - "${DATA_PATH}:/data" + - "${MUSIC_PATH}:/music:ro" + environment: + ND_SCANSCHEDULE: 1h + ND_LOGLEVEL: info + ND_SESSIONTIMEOUT: 24h + ND_BASEURL: "" + user: 1000:1000 + image: deluan/navidrome:pr-2295 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/docs/app-list-20230809-2.png:Zone.Identifier b/docs/app-list-20230809-2.png:Zone.Identifier new file mode 100644 index 00000000..a45e1ac4 --- /dev/null +++ b/docs/app-list-20230809-2.png:Zone.Identifier @@ -0,0 +1,2 @@ +[ZoneTransfer] +ZoneId=3 diff --git a/docs/app-list.png b/docs/app-list.png index fe09d83a..14698200 100644 Binary files a/docs/app-list.png and b/docs/app-list.png differ