UPnP/DLNA server in beta - please test!

abateman
Posts: 10
Joined: Thu Jan 21, 2010 2:17 am

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

Postby abateman » Thu Jan 21, 2010 3:20 pm

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?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

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

Postby moredruid » Fri Jan 22, 2010 12:34 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

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

Postby cpg » Fri Jan 22, 2010 12:59 am

we do not do -R maybe we should?
i am not sure what's involved.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

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

Postby moredruid » Fri Jan 22, 2010 1:31 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

jOOc
Posts: 19
Joined: Sun Jan 17, 2010 3:24 am
Location: Sweden

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

Postby jOOc » Fri Jan 22, 2010 7:57 am

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

abateman
Posts: 10
Joined: Thu Jan 21, 2010 2:17 am

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

Postby abateman » Fri Jan 22, 2010 2:11 pm

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?

User avatar
mehmetb
Posts: 34
Joined: Wed Jan 27, 2010 10:39 pm

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

Postby mehmetb » Mon Feb 08, 2010 8:48 pm

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?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

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

Postby moredruid » Tue Feb 09, 2010 2:21 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 8 guests