{"id":15136285,"url":"https://github.com/thanek/nextcloud-dlna","last_synced_at":"2025-10-23T11:31:20.304Z","repository":{"id":199128127,"uuid":"702137946","full_name":"thanek/nextcloud-dlna","owner":"thanek","description":"DLNA addon for your self-hosted Nextcloud app instance that allows you to stream Nextcloud users content on client devices in your network. It supports the group folders as well.","archived":false,"fork":false,"pushed_at":"2023-11-06T15:13:33.000Z","size":9068,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T18:05:14.010Z","etag":null,"topics":["dlna","dlna-server","docker","nextcloud","upnp","upnp-server"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thanek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-08T15:54:54.000Z","updated_at":"2024-08-27T19:54:39.000Z","dependencies_parsed_at":"2023-10-26T17:36:59.172Z","dependency_job_id":null,"html_url":"https://github.com/thanek/nextcloud-dlna","commit_stats":null,"previous_names":["thanek/nextcloud-dlna"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanek%2Fnextcloud-dlna","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanek%2Fnextcloud-dlna/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanek%2Fnextcloud-dlna/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thanek%2Fnextcloud-dlna/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thanek","download_url":"https://codeload.github.com/thanek/nextcloud-dlna/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237821488,"owners_count":19371768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dlna","dlna-server","docker","nextcloud","upnp","upnp-server"],"created_at":"2024-09-26T06:20:21.130Z","updated_at":"2025-10-23T11:31:18.662Z","avatar_url":"https://github.com/thanek.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nextcloud DLNA server\n\n[![Java CI with Gradle](https://github.com/thanek/nextcloud-dlna/actions/workflows/gradle.yml/badge.svg)](https://github.com/thanek/nextcloud-dlna/actions/workflows/gradle.yml)\n\nDLNA addon for your self-hosted Nextcloud app instance that allows you to stream Nextcloud users content on client\ndevices in your network.\nIt supports the group folders as well.\n\n## Running in Docker\n\nYou can use the docker image with nextcloud-dlna e.g.:\n\n```bash\ndocker run -d \\\n --name=\"nextcloud-dlna\" \\\n --net=host \\\n -v /path/to/nextcloud/app/ending/with/data:/nextcloud \\\n -e NEXTCLOUD_DATA_DIR=/nextcloud \\\n -e NEXTCLOUD_DB_HOST='\u003cyour_nextcloud_db_host_ip_here\u003e' \\\n -e NEXTCLOUD_DB_PASS='\u003cyour_nextcloud_db_pass_here\u003e' \\\nthanek/nextcloud-dlna\n```\n\nor, if used together with the official Nextcloud docker image using the docker-composer. See the [examples](./examples)\ndirectory. for more details about running nextcloud-dlna server in the docker container.\n\nWhile using docker, you can pass to the container the `NC_DOMAIN` and `NC_PORT` environment variables and force the container \nto check and wait for the nextcloud HTTP server to appear on the specified domain and port address.\nYou can also pass to the container other env variables that are listed below.\n\nNote that it would not work on Mac OS since docker is a Linux container and the `host` networking mode doesn't actually\nshare the host's network interfaces.\n\nSee https://hub.docker.com/r/thanek/nextcloud-dlna for more docker image details.\n\n## Building the project\n\nBuild the project with:\n\n`./gradlew clean bootRun`\n\nYou can also pass the environment variables without editing the config files:\n\n`NEXTCLOUD_DLNA_SERVER_PORT=9999 ./gradlew clean bootRun`\n\nor, if you've already built the project and created the jar file:\n\n`NEXTCLOUD_DLNA_SERVER_PORT=9999 java -jar nextcloud-dlna-X.Y.Z.jar`\n\n## ENV variables\n\nAvailable env variables with their default values that you can overwrite:\n\n| env variable                 | default value  | description                                                                                                   |  \n|------------------------------|----------------|---------------------------------------------------------------------------------------------------------------|\n| NEXTCLOUD_DLNA_SERVER_PORT   | 8080           | port on which the contentController will listen                                                               |\n| NEXTCLOUD_DLNA_INTERFACE     |                | (optional) interface the server will be listening on\u003cbr/\u003eif not given, the default local address will be used |\n| NEXTCLOUD_DLNA_FRIENDLY_NAME | Nextcloud-DLNA | friendly name of the DLNA service                                                                             |\n| NEXTCLOUD_DATA_DIR           |                | nextcloud installation directory (that ends with /data)                                                       |\n| NEXTCLOUD_DB_TYPE            | mariadb        | nextcloud database type (mysql, mariadb, postgres)                                                            |\n| NEXTCLOUD_DB_HOST            | localhost      | nextcloud database host                                                                                       |\n| NEXTCLOUD_DB_PORT            | 3306           | nextcloud database port                                                                                       |\n| NEXTCLOUD_DB_NAME            | nextcloud      | nextcloud database name                                                                                       |\n| NEXTCLOUD_DB_USER            | nextcloud      | nextcloud database username                                                                                   |\n| NEXTCLOUD_DB_PASS            | nextcloud      | nextcloud database password                                                                                   |\n\n### Code used\n\nSome java code was taken from https://github.com/haku/dlnatoad\nand https://github.com/UniversalMediaServer/UniversalMediaServer converted to Kotlin with upgrade to jupnp instead of\ncling.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanek%2Fnextcloud-dlna","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthanek%2Fnextcloud-dlna","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthanek%2Fnextcloud-dlna/lists"}