Page 1 of 4

MiniDLNA media server

Posted: Tue 08 Jun 2010, 05:44
by shinobar
MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully compliant with DLNA/UPnP-AV clients.
Works maybe on any Puppy. (no dependency)

UPDATE: 5 Jan 2012
I made 2 options. Would like to hear your feedback:
minidlna-1.0.22-2.pet (smaller, shared sqlite)
minidlna-1.0.22-1.pet (larger, internal sqlite)
http://shino.pos.to/party/bridge.cgi?pu ... /opt/pets/
Or from here(follow 'Large packages').

Install the pet, then edit /etc/minidlna.conf from the copy of the template /etc/minidlna.conf.sample.
setting media_dir=/mnt/somewhere ... is enough.

then type the command from a terminal.

Code: Select all

/etc/init.d/minidlna restart
For Puppy-4.x, Wary-5.1x and older, you may get a message 'error while loading shared libraries:libavformat.so.53'.
In this case, you also need to install ffmpeg_runall-0.7.2-p4.pet.

EDIT on 4 Jan 2012:
'/etc/init.d/minidlna restart' refreshes the db_dir, /tmp/minidlna.
EDIT on 9 Jun 2010:
The database is created at the db_dir, /tmp/minidlna as the default.
Remove whole this directory and restart minidlna when the media directory is changed.

minidlna-1.0.18.pet

Posted: Sat 09 Oct 2010, 22:55
by shinobar
CHANGES:
minidlna-1.0.18.pet - 10 Oct 2010:
Update component to the recent stable release.
Improve startup script (/etc/init.d/minidlna).

Posted: Sat 30 Oct 2010, 13:40
by trapster
Awesome app !!

Thank you.

Posted: Sun 10 Apr 2011, 23:21
by p310don
Holy Crap!!

This is awesome stuff. I have never used DLNA or UPNP media serving technologies before. I had been trying to do the same thing via samba to my phone, which was somewhat successful, but this is *perfect* for media.

I have seen this for using with PS3's and similar, but never considered it for my use. Cool.

Thanks heaps

Posted: Wed 04 Jan 2012, 13:07
by Uden
This pet works great. I can watch videos, images and listen to music served from Puppy over WiFi on my Philips TV.

But i wonder if anyone could compile the latest version (1.0.22 - Released 24-Aug-2011) into a pet?

thanks

minidlna-1.0.22-p4.pet

Posted: Wed 04 Jan 2012, 15:24
by shinobar
OK, updated minidlna-1.0.22-p4.pet with _NLS.
New script auto mounts the media drive at booting up PC.
Say, you can set the media_dir=/mnt/sda2/media, then the /dev/sda2 is mounted on /mnt/sda2 at boot.

Enjoy!

Posted: Wed 04 Jan 2012, 21:06
by Uden
hi Shinobar,

thanks for the fast reply :D

But this version does not start. I get the following error

Code: Select all

# /etc/init.d/minidlna restart
minidlna stopped.
/usr/sbin/minidlna: error while loading shared libraries: libsqlite3-3.6.12.so.0: cannot open shared object file: No such file or directory
minidlna is not running.
i noticed the pet is much smaller. Is 1.0.22 an update for 1.0.18 or a complete replacement?

New version

Posted: Thu 05 Jan 2012, 04:17
by shinobar
Uden wrote:I get the following error

Code: Select all

# /etc/init.d/minidlna restart
minidlna stopped.
/usr/sbin/minidlna: error while loading shared libraries: libsqlite3-3.6.12.so.0: cannot open shared object file: No such file or directory
minidlna is not running.
i noticed the pet is much smaller. Is 1.0.22 an update for 1.0.18 or a complete replacement?
Try minidlna-1.0.22-1.pet, contains internal sqlite.

Posted: Mon 16 Jan 2012, 19:57
by pabloA
You've read my mind :)
I have been trying to, unsuccessfully, add either Media Tomb or Minidlna most of today.

Found your minidlna-1.0.22-1.pet, and installed upon Slacko 531.
Happy to report that all seems well. Panasonic TV.

Thank you so much...

Posted: Mon 16 Jan 2012, 20:53
by Sylvander
1.
Uden wrote:I can watch videos, images and listen to music served from Puppy over WiFi on my Philips TV.
(a) Which file types does the "renderer" on your TV work with?
My Sony Bravia KDL 32EX503U only plays MP4.
[Most advanced filesystem accepted when connected direct via USB = FAT32, not NTFS or ext2,3,4]...
And only provided that was their original form as produced.
i.e. Not converted from some other filetype.

(b) The miniDLNA version I used back then [some weeks back] worked just fine...
But the Sony limitations made it pointless.
I'm now using a £30 "Mini HD Media Box", that plays all known multimedia filetypes to my TV from an external USB HDD or Flash Drive or SD/MMC memory card.
See post #2 in this thread.

Posted: Tue 17 Jan 2012, 15:05
by pabloA
Just a little quirk I found whilst testing some conversions from 'ogg' to 'mp3.

Sylvander was advised by the manufacture of his TV, that the TV would 'know' when a file had been altered from its original format: Whilst attempting to play the converted mp3 file results in the TV switching off, and back on again: no errors reported on TV! <strange>

I should add that I have no prior experience of converting etc - so more an observation - and most likely a user error on my part, not a critique of the application. :)

Re: minidlna-1.0.22-p4.pet

Posted: Wed 25 Jan 2012, 16:57
by linbie
shinobar wrote:OK, updated minidlna-1.0.22-p4.pet with _NLS.
New script auto mounts the media drive at booting up PC.
Say, you can set the media_dir=/mnt/sda2/media, then the /dev/sda2 is mounted on /mnt/sda2 at boot.

Enjoy!
Thank you for this - works great. I have it running of an old eeePC 701 with pupeee.

My media drive is actually a USB network drive however the router is not DLNA so it can't be seen directly by my sony blu ray player hence the need for miniDLNA. Is there any way to automatically mount a network drive on bootup along with minidlna?


Once again many thanks for a great app and easy step by step set-up

mount a network drive

Posted: Thu 26 Jan 2012, 01:29
by shinobar
linbie wrote:Is there any way to automatically mount a network drive on bootup along with minidlna?
You can look up the script /etc/init.d/minidlna, and find what modification we need.

Posted: Wed 21 Nov 2012, 22:53
by blindman
minidlna-1.0.22-1.pet works pretty well for me.
But substitle in the same folder (and with the same name "video_name".srt) with the movie doesnt come while viewing on another pc with vlc.
Has anyone an idea how to make it work?
Thank you for every answer.

How to use minidlna?

Posted: Sat 24 Nov 2012, 16:08
by difedepe
Hi,
I've installed minidlna on my Puppy Slacko... then restarted it... but how can I use it?
How can I see my samsung smart TV and viceversa?


Please, let me know,
Peppe.

Posted: Sat 24 Nov 2012, 19:25
by trapster
Peppe,

You're not going to see your smart tv. But, your network connected smart TV ( as long as it's DLNA / Upnp) should be able to see movies, pics and music from the the computer.

Set up port and multimedia directories in /etc/minidlna.conf. Things are pretty self explanatory in there.

start minidlna

Posted: Sun 25 Nov 2012, 08:16
by difedepe
Hi Trapster,
I edited the minidlna.conf and applied minidlna restat in the shell (minidlna start doesn't work ).

But, how can I see the files from my smart TV?
Do I have to install any app in my smart TV or I have to use Allshare Play or other?

Posted: Sun 25 Nov 2012, 08:39
by difedepe
HERE MY MINIDLNA.CONF FILE:
I AM USING A WIFI-CONNECTION.DO I HAVE TO SET ANY THING ELSE?

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interface to bind to (this is the only interface that will serve files)
network_interface=wlan0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
# can prepend the type, followed by a comma, to the directory:
# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=V, /mnt/home/Dropbox

# set this if you want to customize the name that shows up on your clients
friendly_name=My DLNA Server

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
#db_dir=/var/cache/minidlna

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=yes

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
# which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

Posted: Sun 25 Nov 2012, 11:18
by trapster
But, how can I see the files from my smart TV?
I use the "source" button on my Samsung remote.

Google your tv.

Posted: Sun 25 Nov 2012, 16:15
by difedepe
Hi trapster,
unfortunally I am not able to see it on my TV.
Probably I am wrong with minidlna setup.... can you help me on this?