Hello,
I use minidlna for years and years, allmost without problems. But now I faced a problem which is unsolveable for me. Because of large video files there is now a 2nd harddisk in my system which expand my home-dir. The 2nd harddisk is mounted under /home/user/video. Formated in ext3. I moved all videofiles over there, I see everything in dolphin, all can be played local at the computer. But when I configure “media_dir” with
V,/home/user/video | AV,/home/user/mp3 | PV,/home/user/MyAlbum
where “/home/user/video” is the mounting point of the 2nd harddisk and “/home/user/mp3” and “/home/user/MyAlbum” are normal directory, scanning simply stops at the beginning. I don’t see any file at http://localhost:8200
When I change the “media_dir” configuration to
AV,/home/user/mp3 | PV,/home/user/MyAlbum | V,/home/user/video
scanning stops after scanning MyAlbum, that means I see all the mp3 and my Photos, but no video. I tried using rescan=yes without sucess. I tried checking the harddisk for errors, but no failure.
Configuration is done by sysconfig: Start YaST -> System/editor for sysconfig/network/minidlna
Started with Yast/System/Service Manager (not runlevel manager)/enable and activate minidlna.
Firewall are open at port 8200TCP and 1900UDP.
All under suse 13.1 32bit, with minidlna-1.1.2-1.9.i586.rpm which is the newest for 13.1 32 bit at 2014-05-31.
Has anybody an idea? All help is welcome! Thanks in advance.
cheers
Jürgen
On 2014-05-31 11:16, hj00001 wrote:
>
> Hello,
>
> I use minidlna for years and years, allmost without problems. But now I
> faced a problem which is unsolveable for me. Because of large video
> files there is now a 2nd harddisk in my system which expand my home-dir.
> The 2nd harddisk is mounted under /home/user/video. Formated in ext3. I
> moved all videofiles over there, I see everything in dolphin, all can be
> played local at the computer. But when I configure “media_dir” with
>
> V,/home/user/video | AV,/home/user/mp3 | PV,/home/user/MyAlbum
>
> where “/home/user/video” is the mounting point of the 2nd harddisk and
> “/home/user/mp3” and “/home/user/MyAlbum” are normal directory, scanning
> simply stops at the beginning. I don’t see any file at
> http://localhost:8200
I’m not familiar with minidlna, but you can mount any partition
anywhere, or symlink one directory to another, and in the cases where
symlinks do not work, you can bind mount it.
ln -s /home/user/video /home/user/somewheredlnalikes
or
mount --bind /home/user/video /home/user/somewheredlnalikes
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Hello,
I didn’t make further tests, but a symlink doesn’t work. The symlink was noticed and showed up in the logfile, but the files under “video_download” didn’t show up in the database. Please see logfile below (variable “scan” was set to debug).
[2014/06/01 09:34:52] minissdp.c:645: debug: SSDP M-SEARCH from 10.0.0.1:24234 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: “ssdp:discover”
[2014/06/01 09:34:52] minissdp.c:245: debug: Sending M-SEARCH response to 10.0.0.1:24234 ST: urn:schemas-upnp-org:device:MediaServer:
[2014/06/01 09:34:52] minissdp.c:645: debug: SSDP M-SEARCH from 10.0.0.1:24234 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: “ssdp:discover”
[2014/06/01 09:34:52] minissdp.c:245: debug: Sending M-SEARCH response to 10.0.0.1:24234 ST: urn:schemas-upnp-org:device:MediaServer:
===> [2014/06/01 09:36:53] inotify.c:732: debug: The file /home/hj/Juergen/video_ausgelesen/video_download was changed.
[2014/06/01 09:43:53] minidlna.c:1081: debug: Sending SSDP notifies
[2014/06/01 09:43:53] minidlna.c:1242: debug: HTTP connection from 10.0.0.138:29245
[2014/06/01 09:43:53] clients.c:237: debug: Client found in cache. [Unknown/entry 0]
[2014/06/01 09:43:53] upnphttp.c:871: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
Content-Type: text/xml; charset=ISO-8859-1
Host: 10.0.0.5
User-Agent: Thomson_http-lib/r0.1
In the meantime I simply have the feeling that the database is set up in a way that it can handle only one harddisk, it would be nice if someone can share experience with minidlna and mediafiles at more than one harddisk.
cheers
Jürgen
On 2014-06-01 10:26, hj00001 wrote:
>
> Hello,
>
> I didn’t make further tests, but a symlink doesn’t work. The symlink was
> noticed and showed up in the logfile, but the files under
> “video_download” didn’t show up in the database. Please see logfile
> below (variable “scan” was set to debug).
Well, comparing with apache, you can not simply symlink a directory
because apache may not follow it, for security reasons. There is an
option to tell it to follow links.
Which is why I told you to consider bind mount as an alternative, it
does not have that limitation (because the administrator has to set it
up explicitly, I guess, or because the application does not even know).
> ===> [2014/06/01 09:36:53] inotify.c:732: debug: The file
> /home/hj/Juergen/video_ausgelesen/video_download was changed.
Yes, it sees it as a file, not as a directory, because it does not
follow the link, apparently. A symlink is, I understand, a special type
of file.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)