MiniDLNA media server

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

MiniDLNA media server

#1 Post 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.
Last edited by shinobar on Thu 05 Jan 2012, 05:54, edited 5 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

minidlna-1.0.18.pet

#2 Post 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).
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#3 Post by trapster »

Awesome app !!

Thank you.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#4 Post 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

User avatar
Uden
Posts: 35
Joined: Mon 26 Jan 2009, 20:06
Location: Tilburg (NL)
Contact:

#5 Post 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

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

minidlna-1.0.22-p4.pet

#6 Post 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!
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
Uden
Posts: 35
Joined: Mon 26 Jan 2009, 20:06
Location: Tilburg (NL)
Contact:

#7 Post 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?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

New version

#8 Post 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.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

pabloA
Posts: 29
Joined: Thu 12 Feb 2009, 20:37

#9 Post 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...

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#10 Post 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.

pabloA
Posts: 29
Joined: Thu 12 Feb 2009, 20:37

#11 Post 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. :)

linbie
Posts: 64
Joined: Sat 09 Jan 2010, 05:03

Re: minidlna-1.0.22-p4.pet

#12 Post 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

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

mount a network drive

#13 Post 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.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

blindman
Posts: 2
Joined: Wed 21 Nov 2012, 22:47

#14 Post 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.

difedepe
Posts: 31
Joined: Tue 12 Apr 2011, 12:38

How to use minidlna?

#15 Post 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.

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#16 Post 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
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

difedepe
Posts: 31
Joined: Tue 12 Apr 2011, 12:38

#17 Post 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?

difedepe
Posts: 31
Joined: Tue 12 Apr 2011, 12:38

#18 Post 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

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#19 Post 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.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

difedepe
Posts: 31
Joined: Tue 12 Apr 2011, 12:38

#20 Post 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?

Post Reply