where is default media folder for minidlna-amd64?

Status
Not open for further replies.

newstartech

Dabbler
Joined
Aug 14, 2012
Messages
11
I am new to the forum. Spend a few days to try get Freenas 8.20 going with dlna and still facing trouble. Freenas 8.20 (64bit) is easy to install. However, config gives me some trouble. 1) After create a storage (UFS, since it is old PC with 1Tb space on 2nd hdd only). I have problem to setup a share. Finally solved with reboot the Freenas. Then, you are able to entry the path (in add share pop up). -Solved 2) Install Plugins and minidlna. After a few trying and finally all services starts. And from my Window media player I can find the new Freenas. However, I don't know where the liberary location. And in WMP, there is no music or folder listed under new NAS dlna server.
Here are my settings:
hardware: AMD X2 3800+, 3Gb RAM, 160G SATA as system disc and 1Tb SATA as data disc. Gbit Lan card on mainboard.
Software: FreeNas 8.2.0 Release-p1-x64 (r11950)
Storage volume ADA1 /mnt/ADA1
Share Name: Data /mnt/ADA1
Plugins Jail path: /mnt/ADA1/Software
Jail Name: plugin

I setup miniDLNA plugins 1.0.22_3-amd64 as below
Friendly name: Nas-media
Media directory: /mnt/ADA1/Software/Plugin/usr/pbi/minidlna-amd64/MyMedia
port 8200
discover interval: 890
Rescan on (re)start, ticked

Plugin starts ok.

Created mounting point
/mnt/ADA1/MyMedia to /mnt/ADA1/Software/Plugin/usr/minidlna-am64/MyMedia

under windows 7 PC
access \\freenas\data
in MyMedia folder (/mnt/ADA1/MyMedia), create folder Music, and copied a few music mp3 files. I can see music folders and music mp3 files are stored in /mnt/ADA1/Software/Plugin/usr/minidlna-am64/MyMedia as well. (Mount point working ok)

in WMP (windows Media Player), I can see NAS-Media, however, no music I can found.

Can anyone help me to found with where I am doing wrong?
 

newstartech

Dabbler
Joined
Aug 14, 2012
Messages
11
removed plugin and used 8.3.0-beta1 mindlna 1.0.24_1. Installed and got same result. no music I can found on WMP.
 

newstartech

Dabbler
Joined
Aug 14, 2012
Messages
11
further information: Volume is UFS file system (since it was on an old PC with 3Gb RAM).
Permissions on volume ADA1, owner(user):nobody; Owner(group): nobody; Mode: all ticked;ACL: windows (it was unix, I changed to windows last night, no difference);
CIFS settings: Authentication: local user, Guest account:nobody

Windows Media Player can find the media NAS-Media, however, when browse the music files, it returns "The remote media library did not allow the connection."
 

qyqgpower

Cadet
Joined
Aug 3, 2012
Messages
3
You should set the media directory inside the jail, aka /usr/pbi/minidlna-amd64/MyMedia
Just ignore the buggy path selection and enter the path manually.
 

newstartech

Dabbler
Joined
Aug 14, 2012
Messages
11
Thank for your comment. Just read through another thread "Freenas 8.2 p1 - minidlna not scanning for files". Noticed same guide as yours. Following is what I changed. I record here to easy for other readers.
start shell, jls, note the number of for the jail
jexec -u root 1 csh (1 is the number got from jls)
Create a directory MyMedia (mkdir /MyMedia)
set permission chmod 777 /MyMedia
exit the shell
Using GUI, Change mount point Source: /mnt/ADA1/MyMedia Destination: /mnt/Software/Plugin/Media
Using GUI, Change minidlna configuration: media directory /MyMedia
Turn off minidlna, and restart system
Now from minidlna.log (/mnt/Software/Plugin/var/log), I can see Scanning /MyMedia finished (75 files)! However, some errors. And WMP still not see the music files.
Here are the copy of minidlna.log
[2012/08/18 03:32:14] minidlna.c:917: warn: Starting MiniDLNA version 1.0.24 [SQLite 3.7.13].
[2012/08/18 03:32:14] minidlna.c:940: warn: Creating new database...
[2012/08/18 03:32:14] minidlna.c:1019: warn: HTTP listening on port 8200
[2012/08/18 03:32:14] scanner.c:737: warn: Scanning /MyMedia
[2012/08/18 03:32:15] scanner.c:808: warn: Scanning /MyMedia finished (75 files)!
[2012/08/18 03:32:15] playlist.c:126: warn: Parsing playlists...
[2012/08/18 03:34:54] minidlna.c:160: warn: received signal 15, good-bye
[2012/08/18 03:34:54] minidlna.c:1315: error: Failed to remove pidfile /usr/pbi/minidlna-amd64/minidlna.pid: Permission denied
[2012/08/18 03:37:00] minidlna.c:917: warn: Starting MiniDLNA version 1.0.24 [SQLite 3.7.13].
[2012/08/18 03:37:00] minidlna.c:940: warn: Creating new database...
[2012/08/18 03:37:00] minidlna.c:1019: warn: HTTP listening on port 8200
[2012/08/18 03:37:00] scanner.c:737: warn: Scanning /MyMedia
[2012/08/18 03:37:04] scanner.c:808: warn: Scanning /MyMedia finished (75 files)!
[2012/08/18 03:37:04] playlist.c:126: warn: Parsing playlists...
[2012/08/18 03:46:16] upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args
[2012/08/18 03:46:22] upnpsoap.c:1739: warn: Returning UPnPError 402: Invalid Args
 

newstartech

Dabbler
Joined
Aug 14, 2012
Messages
11
Good news. I figured out the issue. After I changed disk volume from UFS to ZFS. And redo all the steps for volume setup, share, plugin and minidlna. everything works.:)
 
Status
Not open for further replies.
Top