What's new

Blank screen when attempting to specify Media Server (Minidlna) Directory

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

lime237

Occasional Visitor
Hello everybody,

I'm currently running into an issue where when I try to select a Manual Media Server Path (by clicking the box that says "Please select"), I just get a blank area where I should be seeing my directories on the USB drive connected to my RT-AC68A. See attached screenshot. I should also add that this device is running as an AiMesh node under a RT-AC68P router. I have no problem seeing & selecting the directories on my USB drive when setting up FTP and Samba, but for whatever reason it doesn't show when trying to select it under Media Server. Therefore, I don't believe this is a browser issue (I also tried from different PCs with different browsers, same issue). I would really like to be able to specify specific directories instead of sharing everything with the "All Disks Shared" option. The USB drive in question is an external WD 4 TB drive formatted to EXT4, with about 2 TB worth of videos, music, and pictures on there. I have a small USB stick connected to the USB 2.0 port set up as swap. I didn't have this problem before, and it popped up up after doing a factory restore after a firmware upgrade recently. Currently both my main router and AiMesh node are on Merlin FW 386.4. Been using Merlin FW for years and it's been awesome. Also wanted to say that I've tried steps listed here, even though my specific problem isn't mentioned: "https://github.com/RMerl/asuswrt-merlin.ng/wiki/Minidlna:--Common-Issues-&-Solutions". I also tried via http and https. Please let me know if anyone has any ideas to try or if someone's run into this before and has a solution. Thank you all.
 

Attachments

  • Blank Minidlna screen.png
    Blank Minidlna screen.png
    54.2 KB · Views: 116
Last edited:
I wanted to also ask if anyone knew of a way to set the Media Server Directory via SSH that would accomplish the same thing as setting it from the GUI?
 
I wanted to also ask if anyone knew of a way to set the Media Server Directory via SSH that would accomplish the same thing as setting it from the GUI?
Try this and then going back to the GUI page:
Code:
nvram set dms_dir="/mnt"
 
My minidlna.postconf looks similar to this:

Bash:
#!/bin/sh

sed -i -e '/presentation_url=/c\' -e 'presentation_url=https://media.example.com' "$1"
printf "%s\n" 'log_level=fatal' >> "$1"
sed -i '/media_dir=/d' "$1"
printf "%s\n" 'media_dir=A,/mnt/usbhdd/media/music' >> "$1"
printf "%s\n" 'media_dir=V,/mnt/usbhdd/media/video' >> "$1"
 
My minidlna.postconf looks similar to this:

Bash:
#!/bin/sh

sed -i -e '/presentation_url=/c\' -e 'presentation_url=https://media.example.com' "$1"
printf "%s\n" 'log_level=fatal' >> "$1"
sed -i '/media_dir=/d' "$1"
printf "%s\n" 'media_dir=A,/mnt/usbhdd/media/music' >> "$1"
printf "%s\n" 'media_dir=V,/mnt/usbhdd/media/video' >> "$1"
Thank you for providing this! I applied this (with changes to match my directory names etc.) and now I see only the directories I specified :)
Nothing showing in the GUI, but as long as this works as intended (which it is) then I'm happy. Thanks again!
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top