developer.shyd.de. studying my hobby

1Aug/1168

miniDLNA: Dockstar as DLNA-Server v1.0.25

dlna-logo

1 Star2 Stars3 Stars4 Stars5 Stars (17 votes, average: 4.94 out of 5)

Loading ... Loading ...
Today I noticed there is a new version of miniDLNA available. When the build process was running I decided to make a deb-file that you guys don't have to compile the sources yourself.

Some people don't want to install the build-environment or sources of dependencies, that's two of the reasons why I put the files together into an installable deb-file, there you go:

wget http://dev.shyd.de/dockstar/minidlna-1.0.24-1-arm.deb
dpkg -i minidlna-1.0.24-1-arm.deb
apt-get -f install
dpkg-reconfigure minidlna

Now edit the config in /etc/minidlna.conf and start the service:

service minidlna start

If everything works fine, the server should show up on your dlna-clients.

If your kernel supports inotify (my 3.1.10 does) and you want miniDLNA to use it, check if the device is present:

ls -l /dev/inotify

If it's not created automatically by udev, you have to do it manually:

mknod /dev/inotify c 10 63

After you restarted miniDLNA you should instantly see directorychanges on your clients.

Update 12.09.2011: v1.0.22

I just compiled the new version and packed it to a new deb file. To update just install it:

wget http://dev.shyd.de/dockstar/minidlna-1.0.22-arm.deb
dpkg -i minidlna-1.0.22-arm.deb

In the version tag I added a version number lower than sid to avoid problems during system upgrade, thanks to fear_factory84!

Update 28.01.2012: v1.0.23

Today I found some time to build the new version into a deb-file. There you go:

wget http://dev.shyd.de/dockstar/minidlna-1.0.23-1-arm.deb
dpkg -i minidlna-1.0.23-1-arm.deb

Update 21.02.2012: v1.0.24

Just build the new version into a deb-file. There you go:

wget http://dev.shyd.de/dockstar/minidlna-1.0.24-1-arm.deb
dpkg -i minidlna-1.0.24-1-arm.deb

Update 24.07.2012: v1.0.25

Just build the new version into a deb-file. There you go:

wget http://dev.shyd.de/dockstar/minidlna-1.0.25-1-arm.deb
dpkg -i minidlna-1.0.25-1-arm.deb
Filed under: Dockstar, Hardware, Linux | 96,250 views Leave a comment
Comments (68) Trackbacks (3)
  1. Minidlna is also included in Debian Wheezy and Sid. So you could directly install it via apt, if youre on Squeeze then you could use apt-pinning to only install minidlna and keep the rest of the system as it is.

  2. Hi I’m fairly new to Ubuntu and think I got everything working except for starting the service.
    Hoping someone can help me?

    Thanks in advanced.

    vu@wonghptv:/usr/sbin$ service minidlna start
    * Starting minidlna minidlna start-stop-daemon: unable to start /usr/sbin/minidlna (Exec format error)
    [fail]

  3. Hi,

    I’m a long time user of miniDLNA on my home server (i386). I came across your blog post while searching for a more recent compiled binary for ARM architecture to update the rather old version on a Netgear Stora that I purchased for my parents-in-law. Does the binary in the .deb have any library dependencies, or are they all statically compiled into the executable file?

    Thanks for your efforts,
    Craig Chambers

  4. Hi,

    I have an OpenRD ARM platform with Debian debian squeeze & tried install package minidlna-1.0.22-arm.deb. But, I have the following error:-

    Selecting previously deselected package minidlna.
    (Reading database … 21569 files and directories currently installed.)
    Unpacking minidlna (from minidlna-1.0.22-arm.deb) …
    dpkg: dependency problems prevent configuration of minidlna:
    minidlna depends on libid3tag0; however:
    Package libid3tag0 is not installed.
    minidlna depends on libflac8; however:
    Package libflac8 is not installed.
    minidlna depends on libvorbisfile3; however:
    Package libvorbisfile3 is not installed.
    minidlna depends on sqlite3; however:
    Package sqlite3 is not installed.
    minidlna depends on libavformat52; however:
    Package libavformat52 is not installed.
    dpkg: error processing minidlna (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    minidlna

    Any idea what is the problem ?

    • Did you try to install the deps manually before running dpkg -i?

      • Nope, first time installation. Could it be because libid3tag0, libflac8, libvorbisfile3, sqlite3, libavformat52 have not yet pre-installed in my system which your deb depend on them ?

        • Yup, this is what I mean. Install them first with apt-get install libid3tag0 libflac8 libvorbisfile3 sqlite3 libavformat52. After that you should be able to install the deb file.

          • On debian squeeze (Pogoplug v3), I needed all of these dependencies before minidlna would start.

            apt-get install libid3tag0 libflac8 libvorbisfile3 sqlite3 libavformat52 libavcodec52 libavutil50 libjack-jackd2-0 librtmp0 libx264-118 libogg0 libvorbis0a libavutil49

            Thanks a lot for providing this package in deb format!!

  5. I tried install the dependency packages but with some error :-

    sudo aptitude install libid3tag0 libflac8 libvorbisfile3 sqlite3 libavformat52
    The following NEW packages will be installed:
    libavcodec52{a} libavformat52 libavutil49{a} libdirac-encoder0{a} libfaad2{a} libflac8 libgsm1{a} libid3tag0
    libogg0{a} libopenjpeg2{a} liborc-0.4-0{a} libschroedinger-1.0-0{a} libspeex1{a} libtheora0{a} libvorbis0a{a}
    libvorbisenc2{a} libvorbisfile3 sqlite3
    0 packages upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
    Need to get 11.1 MB of archives. After unpacking 25.6 MB will be used.
    ……..
    Err http://ftp.uk.debian.org/debian/ squeeze/main libavutil49 armel 4:0.5.2-6 404 Not Found [IP: 83.142.228.128 80]
    Err http://ftp.uk.debian.org/debian/ squeeze/main libavcodec52 armel 4:0.5.2-6 404 Not Found [IP: 83.142.228.128 80]
    Err http://ftp.uk.debian.org/debian/ squeeze/main libavformat52 armel 4:0.5.2-6 404 Not Found [IP: 83.142.228.128 80]
    E: Failed to fetch http://ftp.uk.debian.org/debian/pool/main/f/ffmpeg/libavutil49_0.5.2-6_armel.deb: 404 Not Found [IP: 83.142.228.128 80]
    ……..

  6. I have a mp4 file downloaded from http://h264-demo.code-shop.com/demo/apache/trailer2.mp4 & able to playback with video & sound locally on my pc.

    I copy this same file to minidlna box & playback as usual from another dlna clients – Skifta app on Andriod Neuxs One phone & XBMC in ATV2, there is only video & no sound at all. Others mp4 files is OK, except this one.

    Any idea?

    • This maybe has to do something with your clients or minidlna isn’t able to stream the sound of this video. Please ask the developers for additional info. I am not in the code, I am just providing an installable package.

  7. Hi

    Installation worked perfect..But the server is not scanning the full directory and even if you change the notify interval will not influence anything….?! any recomendation..?!

    Thanks
    Christian

    • This has to do with inotify. As far as I know it is not enabled in the kernel, so you need to refresh the database manually by restarting minidlna. If this doesn’t work, tryminidlna -R

  8. I noticed that minidlna leaked memory. Did you encounter this problem?

  9. Thanks Shyd. I’ll give this a try on my Netgear Stora tomorrow. The last one worked a treat and fixed a bug in the stock 1.0.22 :-)

    /Craig

  10. Nice one mate, I’ve just installed v24 on my sheevaplug and it’s up and running. Thanks

  11. Thanks. Just updated to v24 on my Debian Squeeze 6 and it works like charm. Awesome works as always

  12. Hi, thanks for all your Dockstar-work. With this DEB in particular, I was able to connect my VDR on Dockstar with my new Blu-Ray Player in just about 10 minutes (including the googling). Now the recordings are scaled up when I play them and it is just so much easier than watching them using the PC.

    Great stuff!http://dev.shyd.de/wp-content/plugins/wp-monalisa/icons/wpml_good.gif

  13. Hi & thanks for compiling minidlna for arm devices. I was just wondering if you could add the patch mentioned here: sourceforge.net/projects/minidlna/forums/forum/879956/topic/4045677 so I would be able to stream vdr (mpeg) recordings to my tv. I’ve no experience in cross-compiling so it would be a great help.
    Peter

  14. Great, thanks. I’ll give it a try. And I will install build essentials. If it is that simple ;-)

  15. Hi Shyd

    I have a Seagate GoFlex Home 2TB – The DLNA hasnt been updated which i have the latest but dont know how to install it. I am a Windows Guy so I dont know much about Unix. I do have Putty and connected with SSH. I can stop, start, reload and status. The rebuild of the database nearly took 4 days and still doesnt refresh the content. I have 3 Directories :
    1.Brandon -> 1.Movies, 2.Series & 3.Music.

    It doesnt refresh often as I would love it too.
    This is very frustating and irritating as I know there is way more on the drive than I am looking at.
    What can I do or could you please help me fix this problem.

    Thank you so much

    • Hi,
      first of all check its version with putty, type minidlna -V
      My suggestion for an automatic update would be to check the presence of inotify, type ls -l /dev/inotify
      Post the two outputs here, then we will go on.

      cheers

  16. Dear Shyd,

    I just come across a transcoding version of minidlna and just wonder if you can compile it to a .deb package or if could you show me how to compile it from source on a debian squeeze linkstation ls-vl.

    • Hi,

      nothing easier than compiling minidlna! All you need is build-essential, then download minidlna-src, cd into the untared directory. Make your changes, apply patches etc.
      Then simply run
      make all
      make install
      make install-conf
      and edit the config.

      Now you should be able to start your freshly compiled minidlna. Note: the init script has to be copied manually.

      –Dennis

  17. Hi All,

    I have problems with miniDLNA 1.0.25 on my Netgear Stora. it seems to not index all movies by some reason. it starts indexing all photos and then goes to the movies, only finds 3 movies though I have a lot more. I’ve upgraded miniDLNA to 1.0.25 from 1.0.22. I have it running from the /home/0common dir and the conf file is in the same.
    Any ideas?

    /martin

  18. hi , i today i tryed to use 1 wget http://dev.shyd.de/dockstar/minidlna-1.0.24-1-arm.deb
    2 dpkg -i minidlna-1.0.24-1-arm.deb
    3 apt-get -f install
    4 dpkg-reconfigure minidlna

    but when i do this in putty it give me a error :dpkg : command not found . i have no idea about what can i do :S

    • Hi,
      you need to be root, are you?

      • yes , i guess i am , to be root what i do is . username_hipserv2_seagateplug_XXXX-XXXX-XXXX-XXXX and then do sudo -E -s but i always get this error audit_log_user_command(): Connection refused .
        Can u tell me the best way to root ?

        • Well, the easiest way is typing: su
          Or just log in as user root.
          If your user is in sudoers, “sudo dpkg -i …” should work as well.

          • when i type su it asks for a password and when i write my password it says password incorrect what can i do ?

            • Type the rootpassword. You should know it. If you used Jeff’s or my script to install debian and you didn’t change it, it is simply root.

              But if you have forgotten it, you need to mount your rootfs in another system and alter the passwd in the /etc/shadow

              • Can u link the debian script ? , i dont have it installed im doing this on windows

                • Eh? minidlna on windows using my .deb?! This won’t work at all!
                  Sorry, but it seems you don’t know what you are doing?
                  Using the script on a laptop/desktop computer doesn’t work either.

                  Or are you talking about putty? Or even cygwin?

                  • i explain . i acess my goflex drive by putty and tryed to do the update to Minildna in putty.

                    • Ahh I see. Why so complicated :) It makes no difference what ssh client you use.
                      So, did you change the OS on the goflex or what is currently running on it?

                    • my goflex is unchanged , is factory default . I’m trying to update the minidlna by a fresh base u see :) ?. i didnt changed anything. the os in my computer is windows 7 , from my goflex is the factory default . i dont know the name

  19. i was talking about putty … i tryed that on putty

  20. my goflex is unchanged , is factory default . I’m trying to update the minidlna by a fresh base u see :) ?. i didnt changed anything. the os in my computer is windows 7 , from my goflex is the factory default . i dont know the name

    • Thanks for the information, finally ;)
      I don’t know if it’s even possible to update minidlna on stock firmware. Never used it on my dockstars/goflex net.
      Well, I don’t know your experience and knowledge level with unix and things. But if you know what’s going on with it, you might try to install a fresh debian on it. But this will void warranty!

      A good start would be this post: http://dev.shyd.de/2011/01/seagate-dockstar-debian-squeeze/
      But I can’t guide you through the whole thing if you are not aware of any deeper knowledge. In this case you should just leave it as it is.
      You will have to setup everything from scratch. Initially there won’t be no such share to access from windows and so on.

      • so i have to install debian in my goflex ? thats not hard . i will try if anything goes wrong i just reset it =) thank you by the information

        • Exactly this won’t work, you cannot reset after installing debian that easy!
          Anyway it will try to boot from disk. If no rootfs is present, it boots from nand.
          Good luck with that!

  21. Just a quick “thank you” as I’m an utter novice – having the Debian builds in a simple file has made life far easier for me and restored our broken NAS to life!

    I’ll bookmark this page and check back once in a while for future updates though the current build *seems* to do everything we need :)


Leave a comment

 
more...
 

Categories

Recent Posts

Recent Comments

Donate

Most Viewed

IP Version