Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: DLNA does not list video\images
#1
Moode works great for my purpose as an audio player.

I am trying to get the DLNA to also support video & image files. They get listed as 0. What could be the reason. How can I get DLNA show the video or images as well?
Reply
#2
If you mean the DLNA server in moOde, then edit /etc/minidlna.conf, you will see this:
Code:
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
#   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
#   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
#   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
#   * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)
media_dir=A,/var/lib/mpd/music

I've not tried it, so I don't know if it causes issues elsewhere in moOde, but you should be able to add pictures and video so they can be seen on other DLNA clients.
----------------
Robert
Reply
#3
(07-07-2021, 05:45 AM)the_bertrum Wrote: If you mean the DLNA server in moOde, then edit /etc/minidlna.conf, you will see this:
Code:
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
#   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
#   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
#   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
#   * "PV" for pictures and video (eg. media_dir=PV,/var/lib/minidlna/digital_camera)
media_dir=A,/var/lib/mpd/music

I've not tried it, so I don't know if it causes issues elsewhere in moOde, but you should be able to add pictures and video so they can be seen on other DLNA clients.


Thank you!
I added these lines, and rebuilding DLNA (please see attachment). It still only fills the audio files only. Video files and Image files are 0. I was checking via :8200.

I used the path by looking at smb.conf file

I am a newbie with SSH or Linux. May be I gave the wrong path?

   

   
Reply
#4
You appear to have seagate/seagate in your path chack if that is right.  Try
Code:
ls /media/seagate

That will give you a list of things at that location, I expect you'll see Photos and Movies etc. at that level.
----------------
Robert
Reply
#5
[attachment=2413 Wrote:the_bertrum pid='35078' dateline='1625646008']You appear to have seagate/seagate in your path chack if that is right.  Try
Code:
ls /media/seagate

That will give you a list of things at that location, I expect you'll see Photos and Movies etc. at that level.

I restarted and rebuilt the DLNA server and left it running & it seems to work.

The path seems to be seagate/seagate    

It is working great. Thank you!!
Reply
#6
Brilliant. Glad it's working.

Please mark the thread as SOLVED so others can benefit from the solution.
----------------
Robert
Reply


Forum Jump: