Menu

MiniDLNA

Anonymous

David Mills compiled mini DLNA for SNAKE V1.3

Thanks David :)

He compiled minidlna as He found it to be more useful than Ushare and mediatomb (mainly due to thumbnails on PS3).

Compiled MINIDLNA file is here: in Download section and here http://www.megaupload.com/?d=FLU54WJI

Source: http://sourceforge.net/projects/minidlna/

Reasons why its better/worse than media tomb: http://blog.flexion.org/2009/12/18/mediatomb-minidlna/

Setup:

Copy MiniDLNA file to your HDD.

Use putty or SSH to access your NAS, ssh into it.

ssh 192.168.1.20 cd /usb/hda1/ chmod +x minidlna chmod +x start ./start or ./minidlna -f minidlna.conf

Force Scan ./minidlna -f minidlna.conf -R

{FILENAME.EXT}.cover.jpg works as well as all those in the config file.

Static Libs: vorbis ogg sqlite3 exif jpeg FLAC id3tag avformat avutil avcodec

Minidlna Package

Minidlna is now also available as an opk package which can be installed from the SnakeOS interface. The packages install a startup script and a basic configuration page from which the shared directory can be set.

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

Development version: http://code.google.com/p/snake-os/downloads/detail?name=minidlna-cvs-20110611.opk

Both packages should work with snakeos-V1.3.2-20111019.


Related

Wiki: Snake-OS Wiki

Discussion

1 2 3 4 > >> (Page 1 of 4)
  • Anonymous

    Anonymous - 2011-07-27

    Originally posted by: wholly1... (code.google.com)@gmail.com

    Permission Denied Error ????

    I have copied the files to the directory of minidlna.

    then did the following 1. cd /usb/lenny location of sda1 - mount name? 2. chmod +x minidlna 3. cd /usb/lenny/minidlna 4. ./minidlna -f minidlna.conf or sh start.sh

    --------output from putty------ # sh start.sh start.sh: line 1: ./minidlna: Permission denied # ls minidlna minidlna.conf start.sh # chmod +x start chmod: start: No such file or directory # chmod +x start.sh # sh start.sh start.sh: line 1: ./minidlna: Permission denied # chmod +x minidlna # sh start.sh start.sh: line 1: ./minidlna: Permission denied # ./minidlna -f minidlna.conf -R -sh: ./minidlna: Permission denied --------output from putty------

    Any ideas how to fix this ...

     
  • Anonymous

    Anonymous - 2011-07-27

    Originally posted by: wholly1... (code.google.com)@gmail.com

    Segmentation Fault !

    I have copied the files to the directory of minidlna.

    then did the following 1. cd /usb/lenny location of sda1 - mount name? 2. chmod +x minidlna 3. cd /usb/lenny/minidlna 4. ./minidlna -f minidlna.conf or sh start.sh

    Now I get a segmentation Fault error the the command line....

    Any reasons why>>> and how can this be fixed.

    Kind Regards

    Wayne

     
  • Anonymous

    Anonymous - 2011-07-28

    Originally posted by: wholly1... (code.google.com)@gmail.com

    OK....

    I re-copied the files to the USB Drive.

    All I did was CHMOD +x minidlna and CHMOD +x start.sh

    And all is working.....

    But.... does any one know why I cannot see Minidlna in my Win7 WMP12. ?????

    Cheers

     
  • Anonymous

    Anonymous - 2011-07-30

    Originally posted by: vsin... (code.google.com)@gmail.com

    I have a problem:

    [2011/07/30 21:37:49] sql.c:40: error: SQL ERROR 11 disk image is malformed? create INDEX IDX_SEARCH_OPT ON OBJECTS(OBJECT_ID, CLASS, DETAIL_ID); [2011/07/30 21:37:49] sql.c:59: error: SQL ERROR 11 disk image is malformed? SELECT ID, NAME, PATH from PLAYLISTS where ITEMS > FOUND [2011/07/30 21:37:49] sql.c:40: error: SQL ERROR 11 disk image is malformed? pragma user_version = 5;

    What does it mean? And what should I do for fix it? Thanks.

     
  • Anonymous

    Anonymous - 2011-07-30

    Originally posted by: davide.p... (code.google.com)@gmail.com

    Really sorry to bother, but as a COMPLETE, ABSOLUTE NEWBIE to **nix, snake OS and miniDLNA all of this sounds like nonsense (I know it isn't, it's just that I can't get thru it). **

    For instance, I can't figure out what the "start" dir is, and where to get the .conf file? Is it created automatically when missing? Or do I have to download the MINIDLNA file alone, then get the .conf from the miniDLNA distribution files? And where to put them?

    I know I'm hopeless but I'm really willing to learn, I just need some explanation starting from the basis.

    tnx

     
  • Anonymous

    Anonymous - 2011-07-31

    Originally posted by: davide.p... (code.google.com)@gmail.com

    OK, going by trial and error I managed to make it work, here's what I did:

    - put minidlna in /usb/sda1/ - put a minidlna.conf taken from the original distribution of miniDLNA in /usb/sda1/ - created a new dir in /usb/sda1/media - CHMOD +x /usb/sda1/minidlna - CHMOD +x /usb/sda1/media - modified the conf file to add the media dir and rename the server - started the server using /usb/sda1/minidlna -f /usb/sda1/minidlna.conf -R

    and everything work fine form PS3, iPhone, WMP. now the questions: - how do I stop or restart minidlna? - how do I get it to start in automatic?

     
  • Anonymous

    Anonymous - 2011-08-09

    Originally posted by: rive... (code.google.com)@gmail.com

    Getting a lot of erros while running minidlna

    First, it start correctly and I am able to browse with a DLNA renderer. Then, I see 2 errors repeating in the log file:

    [2011/08/09 17:15:28] scanner.c:498: warn: Unsuccessful getting details for /usb/sda1/Pictures/JF/Music/Phil Collins/No Jacket Required/11 We Said Hello, Goodbye (Don't Look Back).mp3! [2011/08/09 17:15:28] sql.c:40: error: SQL ERROR 11 disk image is malformed?

    After a while (while still scanning), the dlna server stop responding.

    I noticed that it is starting with 4 processes, but goes down to 3 when it stops responding. I tried removing the files.db a few times with no success.

    Anyone can help?

    thanks,

     
  • Anonymous

    Anonymous - 2011-08-09

    Originally posted by: rive... (code.google.com)@gmail.com

    Nevermind.... filesystem full

    doh!

    changed the path to both the minidlna data file and log and voila !

     
  • Anonymous

    Anonymous - 2011-08-17

    Originally posted by: mihai.po... (code.google.com)@gmail.com

    I have an IB-NAS4210-B from Raidsonic and i tried but i never managed to cross compile minidlna or mediatomb, until i found this, i want to thank everyone for their time and effort, and to David Mills. This is the output of the processor in the Raidsonic device, an armv4l:

    media> cat /proc/cpuinfo Processor : FA526id(wb) rev 1 (v4l) BogoMIPS : 230.19 Features : swp half CPU implementer : 0x66 CPU architecture: 4 CPU variant : 0x0 CPU part : 0x526 CPU revision : 1 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format B Cache format : Harvard I size : 16384 I assoc : 2 I line length : 16 I sets : 512 D size : 8192 D assoc : 2 D line length : 16 D sets : 256

    Hardware : GeminiA Revision : 0000 Serial : 0000000000000000

    I am using it with Optware and a 1TB s-ata WD HDD. I just copied the file to /opt/sbin , the minidlna.conf inside /opt/etc/ , edited the conf to store logs and database in the appropriate place, in my case log_dir=/opt/var/log & db_dir=/opt/etc/minidlna. Until now it was working perfect, so, until i will refill my dedicated internet payment Visa, where should i send the beer? (in my culture, beer is offered to friends only :) )

     
  • Anonymous

    Anonymous - 2011-08-25

    Originally posted by: MartinVa... (code.google.com)@gmail.com

    Does anyone know if it is possible to stream over the internet with minidlna?

    I don't have much experience with this, but I tried some stuff with making an ssh tunnel, but in the end I was to able to discover the upnp device (minidlna creates an upnp device right?).

     
  • Anonymous

    Anonymous - 2011-08-31

    Originally posted by: vittc... (code.google.com)@gmail.com

    how i can autostart when turn on the Nas?? thanks

     
  • Anonymous

    Anonymous - 2011-09-18

    Originally posted by: bnlo... (code.google.com)@gmail.com

    I would like to leave my contribution. Ive had the NAS for a long time, and after upgrading to version 1.3 most of the issues are gone (freezing, transmission stop, etc), congratulations to the Snake team! Before I tried streaming to my Xbox using mediatomb without success, now Im able using minidlna. You just need to change the presentation page to your NAS IP address on port 8200. Example:

    default presentation url is http address on port 80 presentation_url=http://10.1.1.254:8200/

    Be sure to configure the right media folders on the minidlna.conf. Now I can listen to music on Xbox without leaving the notebook running on.

     
  • Anonymous

    Anonymous - 2011-09-24

    Originally posted by: miguel.t... (code.google.com)@gmail.com

    after a while begin to appear multiple threads. When the program starts, it does so with 3 processes. And after a while (listening to the first song) is exited and no longer works. My TV is a DLNA LG42LE5550

     
  • Anonymous

    Anonymous - 2011-09-27

    Originally posted by: giang... (code.google.com)@gmail.com

    Is it possible to have the 1.0.22 version or 1.1.0 ? Many Thanks

     
  • Anonymous

    Anonymous - 2011-10-02

    Originally posted by: miguel.t... (code.google.com)@gmail.com

    segui esperando...

     
  • Anonymous

    Anonymous - 2011-10-04

    Originally posted by: dpyro2... (code.google.com)@gmail.com

    I can't seem to get the audio stable. The server always seems to time out when I try to listen to music or watch a video on my PS3. I'm using the NAS from dealextreme.com/p/57591

     
  • Anonymous

    Anonymous - 2011-10-07

    Originally posted by: wholly1... (code.google.com)@gmail.com

    Could we please get a new compiled MiniDLNA version as this version is now out of date

     
  • Anonymous

    Anonymous - 2011-11-04

    Originally posted by: gbritt... (code.google.com)@gmail.com

    Hi all,

    I'm a complete noob with snake os etc. I had mediatomb working but started to have problems as it only worked well with the PS3 so wanted to try this minidlna instead. I simply cannot get it to go, I've put the three files on the usb drive and done these three steps which does absolutely nothing, not even an error! Please can somebody tell me where I'm going wrong, thanks, Gary.

    cd /usb/Cruzer/ chmod +x minidlna chmod +x start ./start

     
  • Anonymous

    Anonymous - 2011-11-08

    Originally posted by: nbor... (code.google.com)@gmail.com

    Yes please, if someone could please write detailed manual for all of us that are complete idiots for linux. I cant get minidlna working either. :( Thank you guys!

     
  • Anonymous

    Anonymous - 2011-11-13

    Originally posted by: ch...@australianrobotics.com.au

    Hi Guys,

    I got this working last night but I found the instructions indeed a bit cryptic. Here's a new version:

    1) Download this file to the root of your USB HD or another storage device: http://snake-os.googlecode.com/files/minidlna

    2) You'll need to also make a text file called "minidlna.conf" that's also placed in the root. Here's the contents of that file:

    port=8200
    media_dir=P,/usb/YOUR_HD_NAME/pictures
    media_dir=A,/usb/YOUR_HD_NAME/music
    media_dir=V,/usb/YOUR_HD_NAME/movies
    media_dir=V,/usb/YOUR_HD_NAME/torrents
    media_dir=A,/usb/YOUR_HD_NAME/torrents
    friendly_name=MY_DLNA_NAME
    

    3) SSH into your SnakeOs?? box with the root user. Your password is the same as your admin password.

    4) Go into the directory (cd) where you put the 'minidlna' files. For me, the command is:

    # cd /usb/boot
    

    Then change the permissions to make it executable:

    # chmod +x minidlna
    

    5) Start minidlna- you can now start minidlna with the following command:

     # ./minidlna -f minidlna.conf -R
    
     
  • Anonymous

    Anonymous - 2011-11-13

    Originally posted by: ch...@australianrobotics.com.au

    Some footnotes to the above: **Step 3: You'll need to know how to SSH as a prereq. The commands are dependent on what IP address your SnakeBox? is running on. **

    ****Step 2: You can see more about the config file syntax here by searching for "minidlna.conf". Basically, P = photos, A = audio, V = video.

    ** You'll have to repeat the steps 4-5 to restart minidlna everytime you restart your NAS. I'm working on an automatic solution and will post it when I figure it out. **

     
  • Anonymous

    Anonymous - 2011-11-14

    Originally posted by: wholly1... (code.google.com)@gmail.com

    Can anyone please provide a working set of instructions for mindlna, so that I can compile a static binary from the CVS (v1.0.22 + SVN changes) and share with all..

    I have a CHROOT'ed snakeos ready !

    thanks wayne

     
  • Anonymous

    Anonymous - 2011-11-15

    Originally posted by: gbritt... (code.google.com)@gmail.com

    Many many thanks for your help with this, I've got it running perfectly :)

     
  • Anonymous

    Anonymous - 2011-11-15

    Originally posted by: vittc... (code.google.com)@gmail.com

    can you attach your syslog file?? bye

     
1 2 3 4 > >> (Page 1 of 4)

Log in to post a comment.

MongoDB Logo MongoDB