ena30 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 0 forks source link

minidlna on snake-os #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
does anybody successfully run minidlna on snake-os? may I know how you did it? 
I can't seem to make it run, it always return with an error.

Original issue reported on code.google.com by widewing...@yahoo.com on 28 Aug 2010 at 12:59

GoogleCodeExporter commented 8 years ago
for those who are having a hard time to run minidlna to connect to their bravia 
here is what I did.
- install debian os lenny (it is in Wiki FAQ)
- "./start.sh" to start debian
- "apt-get install libexif-dev libjpeg62-dev libid3tag0-dev libflac-dev 
libvorbis-dev libsqlite3-dev libavformat-dev cvs make"
- download the latest version of minidlna not the static one
- put it on the server then extract it "tar -xvf minidlna_1.0.18_src.tar"
- go to the extracted folder
- "make"
- "make install"
- "minidlna -f minidlna.conf" to start up minidlna

hope this help....

Original comment by widewing...@yahoo.com on 29 Aug 2010 at 3:31

GoogleCodeExporter commented 8 years ago
Hi,

I'm trying to repeat your steps, but I have problems in the "apt-get" as it 
doesn't found some of the packages.

Could you show me the sources list used to get those packages, or share the 
compiled binary of the minidlna.

Thanks,
Paulo

Original comment by parc1...@gmail.com on 28 Mar 2011 at 3:18

GoogleCodeExporter commented 8 years ago
hi,

have you already installed debian.... without debian and internet connection 
"apt-get" will not work. Sorry I don't have the compiled binary of the minidlna 
anymore as I already get rid of my NAS. I'm not happy with the performance when 
I got it to work, specially on an action movies with a lot of movement. That is 
why I ended up buying a real multimedia player.

Original comment by widewing...@yahoo.com on 29 Mar 2011 at 7:26

GoogleCodeExporter commented 8 years ago
Am also getting minidlna not working. It's installed via the opk file. I choose 
a directory and try and start it and it just goes back to "not running".
Would love to get a dlna server working.

Original comment by bill.rod...@gmail.com on 1 Sep 2012 at 10:08

GoogleCodeExporter commented 8 years ago
What version of snake os? 

Do you know how to ssh/putty into snake? If so try running "sh 
/opt/etc/init.d/minidlna restart" and post what it prints out.

Original comment by stefansc...@googlemail.com on 2 Sep 2012 at 10:16

GoogleCodeExporter commented 8 years ago
The default configuration for minidla puts logs and cache files on /var/log and 
/var/cache, but those directories don't exist on the default snakeos 
configuration.

If you create the directories, webstatus gives you:

# /opt/etc/init.d/minidlna webstatus
sh: 913: unknown operand

And you can see this error in the log file:

Unable to open pidfile for writing /var/run/minidlna.pid: No such file or 
directory

I've changed my config to 

db_dir=/opt/var/cache/minidlna
log_dir=/opt/var/log

I've also created:

mkdir /var/run/

and it's running.

The error on webstatus seems to be a problem with the script.  I'm not an 
expert here, but this change worked fine:

webstatus(){
    PID=$(pgrep -f "/opt/bin/minidlna ${PARAM}")
-    if [ ${PID:-empty} = "empty" ] ; then
+    if [ "empty$PID" = "empty" ] ; then
    echo -n "$KIND is not running"

Original comment by fcat...@gmail.com on 10 Dec 2012 at 1:30

GoogleCodeExporter commented 8 years ago
Did you check if it actually tries to put the log and cache under /var?  It's 
not supposed to. The defaults are set at compile time to /opt/var/.. .

That warning about the .pid file is harmless. It's not used anywhere.

Yes.. your change to webstatus() should fix that error.

Original comment by stefansc...@googlemail.com on 11 Dec 2012 at 2:18

GoogleCodeExporter commented 8 years ago
Not sure.. I can try again from the original package and check the problem from 
the beginning.  Tell me if it may help you to track this bug down.

Original comment by fcat...@gmail.com on 11 Dec 2012 at 2:32

GoogleCodeExporter commented 8 years ago
Do you mean commant #4? ..probably not. I guess minidlna crashing for some 
reason.

I just wanted say that the defaults should normally just work.

Original comment by stefansc...@googlemail.com on 11 Dec 2012 at 9:02

GoogleCodeExporter commented 8 years ago
They don't work.  I'm sure.

I have my box recently installed, so I could install the firmware again and 
report this bug with more details.

Is there any danger reinstalling the same snakeos version as a firmware update?

Original comment by fcat...@gmail.com on 11 Dec 2012 at 9:08

GoogleCodeExporter commented 8 years ago
Oups. I think you are right. The path isn't set properly in the release builds. 
The minidlna-cvs ones are working correctly.

Original comment by stefansc...@googlemail.com on 12 Dec 2012 at 8:01

GoogleCodeExporter commented 8 years ago
And no.. as long you don't pull the plug mid update reinstalling should work. 

You can get the same effect by resetting the config and deleting the .optware 
directory on the disc though.

Original comment by stefansc...@googlemail.com on 12 Dec 2012 at 8:10

GoogleCodeExporter commented 8 years ago
How about this one?

http://code.google.com/p/snake-os/downloads/detail?name=minidlna-1.0.25-1.opk

Original comment by stefansc...@googlemail.com on 12 Dec 2012 at 11:20

GoogleCodeExporter commented 8 years ago
Hi all,

First of all thank you Stefan (and all the other contributors) for all your 
work on the MiniDLNA implementation for SnakeOS.

I would really appretiate any help regarding this issue.

I am using SnakeOS 1.3.2 (20111019), and minidlna-1.0.25-1.opk.

I have been trying to install MiniDLNA on my NAS (NAS Server - WLXKJ652), but I 
am experiencing some problems.

I am using an external USB adapter (Asix) with my WLXKJ652 NAS to overcome the 
problems reported in "Issue 11 - File transfer (SMB or ftp) frozen during 
transfer".

For Samba and telnet I don't have any connectivity problem, but I am getting 
the problem with MiniDLNA, which stops working when using the external USB 
adapter, but works well (I can see the DLNA Nas Server on my devices) with the 
internal Ethernet adapter.

Am I missing some configuration at the NAS / MiniDLNA side?, Is there any known 
issue with MiniDLNA and the external USB Asix adapter?

To install the USB adapter I used the etc.tar.gz script developed by 
tezcan.f...@gmail.com and shared in post #109 of Issue 11.

For all your help, thanks in advance.

Best regards to all.

Original comment by shanem...@gmail.com on 19 Apr 2014 at 12:35