YunoHost et partage multimédia

,

Bonjour,

J’ai monté sur mon YunoHost deux DDE dont un qui contient films et musiques.
J’ai sur mon réseau plusieurs équipements qui pourrait aimé avoir accès à ce genre de fichier (Volumio, Kodi, VLC peut-être ?).

J’ai vu ici (https://yunohost.org/#/app_minidlna_fr) que YunoHost possède apparement un serveur DLNA mais je ne sais pas comment exploiter cela avez vous un retour d’expériences sur le sujet ?
Merci :slight_smile:

minidlna is an app you can install to have your shared multimedia directory available on your local network from DLNA protocol.

It works perfectly with VLC, and can work with Kodi, but without a proper collection as Kodi does not build its collection of media from such protocol (Or I would like to know how !)

Once this app installed, you’ll have (if not already) a directory /home/yunohost.multimedia/
If your media are on external hard drives, you may want to mount into those directories.
Note that you can also mount bind or just use symbolic links.

1 Like

Hello,
I wasn’t in the good filter to see it.

How can i restore the folder i need and made my /media/DDE link to this ?

Thanks

I don’t understand your question.

I find my answer with folder link

J’ai trouvé ma réponse en faisant un lien symbolique dans le dossier share apparement sa marche :slight_smile:

Thanks you for your great creation :slight_smile:

Indeed, to use a symbolic link will work for minidlna.

1 Like

Could i have one more question, i was trying and when i reboot my server it seems DLNA service is running in webadmin but can’t see it in my Network.

And some symbolic link appear shuffly

You can ask as many questions as you want.

What ?

So the service is running, but you can’t see it from your client ?
Did you try different clients ? I know some vlc version are quite touchy with dlna.

I try with some other.
When it is a fresh install it work. And appear in network vlc. But after a reboot it disappeared from apps. I can’t accès to it.

You may also have a look to the log of minidlna, you may find some clues.

1 Like

How can accès with command line ? I can’t get it with web admin in “déboguage”
Only have that

[2020/04/20 00:53:51] minidlna.c:154: warn: received signal 15, good-bye
[2020/04/20 00:54:06] minidlna.c:1034: warn: Starting MiniDLNA version 1.1.6.
[2020/04/20 00:54:06] minidlna.c:1074: warn: HTTP listening on port 48200

You should find it in your admin panel.
Otherwise the file is at /var/log/minidlna.log

1 Like

I have only that

GNU nano 2.7.4 Fichier : /var/log/minidlna.log

[2020/04/19 23:16:48] minidlna.c:1034: warn: Starting MiniDLNA version 1.1.6.
[2020/04/19 23:16:48] minidlna.c:340: warn: Creating new database at /var/cache/minidln$
[2020/04/19 23:16:48] minidlna.c:1074: warn: HTTP listening on port 8200
[2020/04/19 23:16:48] scanner.c:726: warn: Analyse de /var/lib/minidlna
[2020/04/19 23:16:48] scanner.c:815: warn: Analyse de /var/lib/minidlna terminée (0 fic$
[2020/04/19 23:16:48] playlist.c:125: warn: Parsing playlists…
[2020/04/19 23:16:48] playlist.c:259: warn: Finished parsing playlists.
[2020/04/19 23:16:49] minidlna.c:154: warn: received signal 15, good-bye
[2020/04/19 23:16:49] minidlna.c:1034: warn: Starting MiniDLNA version 1.1.6.
[2020/04/19 23:16:49] minidlna.c:342: warn: New media_dir detected; rescanning…
[2020/04/19 23:16:49] minidlna.c:1074: warn: HTTP listening on port 48200
[2020/04/19 23:16:49] scanner.c:726: warn: Analyse de /home/yunohost.multimedia/share
[2020/04/19 23:16:51] scanner.c:815: warn: Analyse de /home/yunohost.multimedia/share t$
[2020/04/19 23:16:51] playlist.c:125: warn: Parsing playlists…
[2020/04/19 23:16:51] playlist.c:259: warn: Finished parsing playlists.
[2020/04/19 23:33:20] playlist.c:125: warn: Parsing playlists…
[2020/04/19 23:33:20] playlist.c:259: warn: Finished parsing playlists.
[2020/04/19 23:36:10] minidlna.c:154: warn: received signal 15, good-bye
[2020/04/19 23:37:11] minidlna.c:1034: warn: Starting MiniDLNA version 1.1.6.
[2020/04/19 23:37:11] minidlna.c:1074: warn: HTTP listening on port 48200
[2020/04/20 00:53:51] minidlna.c:154: warn: received signal 15, good-bye
[2020/04/20 00:54:06] minidlna.c:1034: warn: Starting MiniDLNA version 1.1.6.
[2020/04/20 00:54:06] minidlna.c:1074: warn: HTTP listening on port 48200

If you have a complete log, not cut at the end of lines, especially

At the end of this line, you should see if minidlna did actually found some files.

If not, check the content of the directory.

1 Like

It was the all content of the log

What i do when i install it :

Remove all folders existing in share.
Put in share symbolic link to folder of my DDE.
So in /home/yunohost.multimedia/share/ if have symbolic link to media folder of my DDE

But work before reboot and down after

Ok, so nano then.
Go back to this log, to the line scanner.c:815: warn: Analyse de /home/yunohost.multimedia/share and use the right arrow to see the end of the line.

Would be interesting to know if it did found your files.

Sorry to i did thing to speed.

Fresh install i got this after reboot. Same thing YunoHost DLNA disappear from VLC network.
Which app do you use on smartphone ?

This is the log : https://paste.yunohost.org/dipahimogi

I can add the link of root mail after install were 404 error

So I see " (2504 fichiers)", which means that minidlna is ok with your files.

I use Y-Player on my old tablet, but this app, while working fine, seems to not exist anymore on Google Play or F-Droid…
It was probably an app from F-Droid.

You have the same problem with your others app ? Volumio or Kodi ?

In VLC i still see Volumio.
Before reboot i see YunoHost in Volumio but after reboot nothing all disappeared

I see that you have installed the version 1.1.6, from stretch repository.
I know from experience that, sometimes, you may need to use another version of minidlna…
Try to remove minidlna and reinstall the version from backport. 1.2.1
I personaly use that version, probably because I had trouble with 1.1.6

The choice “B. Latest version available for Debian” at the install

1 Like