Skip to content

Anyone got a DLNA server working with Android VLC?

community/minidlna worked great for ~6 months, then just stopped being discovered by VLC (debug level logs reveal nothing suspicious)

tried aur/mediatomb and Android VLC never discovered it

tried aur/dms and it was discoverable for like 5 mins, then disappeared (yep, I used -notifyInterval 5s)

So, has anyone gotten any DLNA server working reliably with Android VLC? It might be just me, or it really does take a bloody scientist to get DLNA working...

5 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
copo9b

Author

14
posts
147
comments
8
media
View profile

8 comments

Rygel works quite nicely for me

2 points

It looks promising but I can't start it on my headless machine.

# /etc/systemd/system/rygel.service
[Unit]
Description=Rygel DLNA/UPnP server

[Service]
User=minidlna
Group=minidlna
Type=dbus
BusName=org.gnome.Rygel1
ExecStart=/usr/bin/rygel
Restart=on-failure

[Install]
WantedBy=default.target

journalctl:

-- A start job for unit rygel.service has begun execution.
-- 
-- The job identifier is 1516.
Aug 15 13:38:12 iss rygel[5374]: Failed to load user configuration from file “/var/cache/minidlna/.config/rygel.conf”: No such file or directory
Aug 15 13:38:12 iss rygel[5374]: Rygel v0.38.1 starting…
Aug 15 13:38:12 iss rygel[5374]: New plugin “MediaExport” available
Aug 15 13:38:12 iss mx-extract[5381]: rygel-media-export-extract.vala:180: Started with descriptors 3 (in) 4 (out)
Aug 15 13:38:12 iss mx-extract[5382]: rygel-media-export-extract.vala:180: Started with descriptors 3 (in) 4 (out)
Aug 15 13:39:42 iss systemd[1]: rygel.service: Start operation timed out. Terminating.
Aug 15 13:39:42 iss systemd[1]: rygel.service: Failed with result 'timeout'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit rygel.service has entered the 'failed' state with result 'timeout'.
Aug 15 13:39:42 iss systemd[1]: Failed to start Rygel DLNA/UPnP server.
-- Subject: A start job for unit rygel.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit rygel.service has finished with a failure
# /etc/rygel.conf
[general]
enable-transcoding=false
video-upload-folder=@VIDEOS@
music-upload-folder=@MUSIC@
picture-upload-folder=@PICTURES@
media-engine=librygel-media-engine-gst.so
interface=
port=0
log-level=*:5
allow-upload=false
allow-deletion=false
acl-fallback-policy=true

[GstMediaEngine]
transcoders=mp3;lpcm;mp2ts;wmv;aac;avc

[Renderer]
image-timeout = 15

[Tracker]
enabled=false
only-export-from=@MUSIC@;@VIDEOS@;@PICTURES@
share-pictures=true
share-videos=true
share-music=true
strict-sharing=false
title=@REALNAME@'s media on @PRETTY_HOSTNAME@

[LMS]
enabled=false
title=@REALNAME@'s media on @PRETTY_HOSTNAME@

[MediaExport]
enabled=true
title=HomeNAS
uris=/nas/Media/Music;/nas/Media/Videos
extract-metadata=true
monitor-changes=true
monitor-grace-timeout=5
virtual-folders=true

[Playbin]
enabled=false
title=Audio/Video playback on @PRETTY_HOSTNAME@

[GstLaunch]
enabled=false
launch-items=audiotestsrc;videotestsrc;videotestoverlay
audiotestsrc-title=Audiotestsrc
audiotestsrc-mime=audio/x-wav
audiotestsrc-launch=audiotestsrc ! wavenc
videotestsrc-title=Videotestsrc
videotestsrc-mime=video/mpeg
videotestsrc-launch=videotestsrc ! avenc_mpeg2video ! mpegtsmux
videotestoverlay-title=Videotestsrc with timeoverlay 2
videotestoverlay-mime=video/mpeg
videotestoverlay-launch=videotestsrc ! timeoverlay ! avenc_mpeg2video ! mpegtsmux

[Test]
enabled=false

[ExampleServerPluginVala]
enabled=false

[ExampleServerPluginC]
enabled=false

[ExampleRendererPluginVala]
enabled=false

[ExampleRendererPluginC]
enabled=false

[MPRIS]
enabled=false

[External]
enabled=false

[Ruih]
enabled=false
title=Rygel Remote UI Server
1 points

Another option might be to use SFTP (SSH) to stream to Android VLC, it works great.

2 points

Is your machine running the dlna server headless? If not Kodi also comes with an option to provide its library through DLNA, works great with BubbleUPnP and Kodi on my HTPC, I guess VLC should work too.

1 points

I use minidlna and it is working, i tested like 1 weeks ago. What happened? Maybe the bug is in the Android VLC version used.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.