Page 3 of 3
Re: [HOWTO] Install minidlna into a jail
Posted: 03 Apr 2013 12:46
by raulfg3
please use "B" instead "." in minidlna.conf as I suggest, I'm pretty sure that is what you want
Re: [HOWTO] Install minidlna into a jail
Posted: 04 Apr 2013 09:27
by alexey123
raulfg3 wrote:please use "B" instead "." in minidlna.conf as I suggest, I'm pretty sure that is what you want
I use B mode.
I just do not like the organization of virtual folders.
Video - > "All Video", "Folders"
Pictures -> "All Pictures", "Date Taken", "Camera", "Folders"
I do not want to see as there is, I want organize virtual folders as I want.
I study now minidlna, may be I do something wrong.
Re: [HOWTO] Install minidlna into a jail
Posted: 09 Apr 2013 08:53
by alexey123
raulfg3 wrote:a lot of user thank you if finally you create an extension for minidlna
I tried to make minidlna plugin, not need jail or pkg_add, it begin to work on full and embedded. But I have small non-understanding point.
I have N disks with video, and I cannot define it as uPNP shares
For example, if I define only one line
It work, but if I try to define multiline
Code: Select all
media_dir=V,/mnt/disk1/films1
media_dir=V,/mnt/disk2/films2
media_dir=V,/mnt/disk3/films3
It not work, but I see true values into web page
http://mynasip:8200 with minidlna status
Where is my fault?
Re: [HOWTO] Install minidlna into a jail
Posted: 09 Apr 2013 10:48
by raulfg3
alexey123 wrote:Where is my fault?
None, I have not enought experience to know what happend, your 3 lines must work, but I find other Post using Google from other guys with same problem, not sure if the problem are 3 physical Disk ( try to create or point to 2 diferent Video folders in the same Disk), if works, is something related to point to physical disk.
In some post comment some workarrounds (soft links in first folder, etc...).
http://sourceforge.net/projects/minidln ... ic/4805988
and other user in N4F with same problem:
viewtopic.php?f=38&t=1250
PD: I only have one Video folder, and inside this Video Folder I have a lot of folders like Movies, Series, Disney, etc... so I haven't this problem previosly , but try to delete your previosly created minidlna.db to avoid problem in test.
Re: [HOWTO] Install minidlna into a jail
Posted: 09 Apr 2013 11:55
by alexey123
Thank you Raul. You save my time. I continue to work on extension
Re: [HOWTO] Install minidlna into a jail
Posted: 13 Jun 2013 22:04
by jensting
First of all thanks for the work that went into this, I got minidlna running in my first try, using TheBrig to set up a full jail (first time I installed a jail). Yay
One thing I didn't understand: does the dlna group need to be defined outside the jail? after the first reboot, the dlna user+group were fine inside the jail but not outside (of course not) so I installed it in the WebGUI and the files show up correctly when looking (from outside the jail).
However...
Two things. The first probably isn't serious: there is an error message flashing past at the very end of the NAS4Free boot process saying something about /mnt/../Jail/minidlna/usr/ports : no such file or directory. (And indeed, there is none.) I guess that's not serious.
Second, slightly more irritating. I can't get the mod to /usr/local/www/diag_log.inc to stick across reboots of N4F. I don't get this - it worked when I did the edit, but I expected the change to be permanent (the added variable to rc.conf is permanent).
But at least my Freebox Revolution just played the files-in-directory version of a DVD I put on as a test, so that's gotta be a good thing.
Re: [HOWTO] Install minidlna into a jail
Posted: 14 Jun 2013 07:28
by raulfg3
jensting wrote:Two things. The first probably isn't serious: there is an error message flashing past at the very end of the NAS4Free boot process saying something about /mnt/../Jail/minidlna/usr/ports : no such file or directory. (And indeed, there is none.) I guess that's not serious.
you need to create port folder inside the jail to be properly mounted, is explain in TheBrig HowTo .
is as easy as do mkdir /mnt/../Jail/minidlna/usr/ports from outside the jail ( remember to sustitute ... by correct path), and reboot, warninng must dissapear.
jensting wrote:Second, slightly more irritating. I can't get the mod to /usr/local/www/diag_log.inc to stick across reboots of N4F. I don't get this - it worked when I did the edit, but I expected the change to be permanent (the added variable to rc.conf is permanent).
I use modified diag_log.inc in a full install ,and need to save in data disk, to restore when upgrade ( not same problems as you but ...).
You only need to copy modified diag_log.inc to a folder in data disk eg:
Code: Select all
cp /usr/local/www/diag_log.inc /mnt/yourpool/temp
once copied, you need to create a post init job that restore every time you reboot your NAS,
job ( postinit) can be something like this :
Code: Select all
cp /mnt/yourpool/temp/diag_log.inc /usr/local/www
do some test from shell to be sure that script ( script of only one line), works as expected.
Re: [HOWTO] Install minidlna into a jail
Posted: 14 Jun 2013 08:41
by raulfg3
jensting wrote:One thing I didn't understand: does the dlna group need to be defined outside the jail? after the first reboot, the dlna user+group were fine inside the jail but not outside (of course not) so I installed it in the WebGUI and the files show up correctly when looking (from outside the jail).
No need to be defined outside the jail to work, but if you define, you can see the real name of user / group when you see "proccess" in N4F webGUI, otherwise, you only see the PID number , not the name of the user.
Re: [HOWTO] Install minidlna into a jail
Posted: 14 Jun 2013 19:37
by jensting
raulfg3 wrote:...
you need to create port folder inside the jail to be properly mounted, is explain in TheBrig HowTo .
Ah, I got flushed with the excitement of early success. Simple enough.
..
You only need to copy modified diag_log.inc to a folder in data disk eg:
Got it, thanks! That actually makes sense

I was afraid I had to enter a complicated process of editing the boot image...
I can see how this is slightly linked to the release (and so on the road to doing a full install), but I think I'll start with this.
Thanks for your help!
Re: [HOWTO] Install minidlna into a jail
Posted: 25 Apr 2014 19:27
by fhenning09
Hey brother I got everything going set everything the way shown even finally have Nas showing up as source but now when go in allshares list all video / Folders as options with nas but no content insidealso web count is untouched have dropped vid's in both /mnt/Videos w/n my jail as well as root mount /
/NasPOOL/VIdeos still neither webui count showing nore on tv any suggestions?
using samsung tv is there any specific file format
Re: [HOWTO] Install minidlna into a jail
Posted: 25 Apr 2014 21:43
by raulfg3
fhenning09 wrote:using samsung tv is there any specific file format
NO, can play *.avi , *.mkv and *.mp4 but only until certain bitrates.
see this page:
http://www.samygo.tv/
and this:
http://wiki.samygo.tv/index.php5/DLNA_f ... quirements
fhenning09 wrote:Hey brother I got everything going set everything the way shown even finally have Nas showing up as source but now when go in allshares list all video / Folders as options with nas but no content insidealso web count is untouched have dropped vid's in both /mnt/Videos w/n my jail as well as root mount /
/NasPOOL/VIdeos still neither webui count showing nore on tv any suggestions?
your english is really difficult for me, please can you explain your problem and atach more info like screen capture or logs?