Page 3 of 3

Re: UPnP/DLNA server in beta - please test!

Posted: Thu Jan 21, 2010 3:20 pm
by abateman
Added "-R" (forces a full rescan") then it found everything under my specified directories.
That "-R" might've done it. I'm guessing that might be necessary if you make modifications to the amahi-dlna.conf file?

Re: UPnP/DLNA server in beta - please test!

Posted: Fri Jan 22, 2010 12:34 am
by moredruid
yup, it's needed.
I'm not sure about the amahi-dlna script, but in my own initial startup script I added the -R option as default for starting the app, so every time you start the app it will do a full rescan.

Re: UPnP/DLNA server in beta - please test!

Posted: Fri Jan 22, 2010 12:59 am
by cpg
we do not do -R maybe we should?
i am not sure what's involved.

Re: UPnP/DLNA server in beta - please test!

Posted: Fri Jan 22, 2010 1:31 am
by moredruid
the -R option will do a full rescan of the folders listed in the conf file. I think it's beneficial to have it scan at startup by default.

Re: UPnP/DLNA server in beta - please test!

Posted: Fri Jan 22, 2010 7:57 am
by jOOc
A full rescan empties the cache and for me a full rescan takes hours... over 70000 mp3s :D So I don't want it by default.

/J

Re: UPnP/DLNA server in beta - please test!

Posted: Fri Jan 22, 2010 2:11 pm
by abateman
That's true. It would maybe be handy to have a '-U' (for update) option or something that rather than re-reading the .conf file and reading all folders, would look through the .conf file and look for any new or removed folders and only update those?

Re: UPnP/DLNA server in beta - please test!

Posted: Mon Feb 08, 2010 8:48 pm
by mehmetb
Well, I gave it a shot on the XBOX 360, for videos only. I was able to see the server in the "video" list, but it was empty at first. Later I noticed that amahi-dlna does not recursively scan folders, i.e., when I copy a video to the parent directory, I was finally able to play the video.

I believe this is *not* an amahi issue, there must be some sort of DLNA settings for that. However, as a new Amahi user with zero DLNA experience, this is all I could do.

I would appreciate your help for recursive scanning! Any ideas?

UPDATE: Just tried the

amahi-dlna -R -d -f /var/hda/apps/dlna/amahi.conf

option, and it works! However, am I going to manually do this all the time?

Re: UPnP/DLNA server in beta - please test!

Posted: Tue Feb 09, 2010 2:21 am
by moredruid
Mind you, I'm still working with the original binary I found on the internet, not the Amahi packaged DLNA but I have a lot of .iso files that cannot be played with the dlna server. I tried mounting an iso (mount -o loop movie.iso moviemount) but the server doesn't find the files.

maybe it's interesting to pursue this option or make it possible to just play .iso files.