Page 2 of 4

Posted: Sun 25 Nov 2012, 16:37
by trapster
First, try

Code: Select all

media_dir=v,/initrd/mnt/dev_save/Dropbox
instead of /mnt/home/Dropbox

Posted: Sun 25 Nov 2012, 21:50
by difedepe
Hi Trapster,
I was able to set up it.

Thanks very very much!
Ciaooooooo!

Posted: Mon 17 Dec 2012, 09:15
by umair
hi shinobar:
I installed minidlna successfully, also starts from terminal without any issue. set the desired movies directory in conf. file, but I m facing the following problem. Posting the screenshot.
(Note: I m using frugall installation of lucid plus)
Please help.
Looking for quick response.
Regards
UMAIR

Posted: Tue 18 Dec 2012, 04:06
by umair
umair wrote:hi shinobar:
I installed minidlna successfully, also starts from terminal without any issue. set the desired movies directory in conf. file, but I m facing the following problem. Posting the screenshot.
(Note: I m using frugall installation of lucid plus)
Please help.
Looking for quick response.
Regards
UMAIR
Actually I was looking for a video server, where we can access this server from any client using any web browser and play media files (video files etc) on the same network. I was thinking that minidlna will work like that, but I think I was wrong. If any one have an idea how to setup video server in puppy linux thn please share.
Thnx in Advance.
UMAIR

URL not found

Posted: Tue 18 Dec 2012, 23:44
by shinobar
umair wrote:but I m facing the following problem. Posting the screenshot.
Have you set 3131 as the port number on the conf file?
port=8200 is the default.
But anyway the DLNA protocol is not compatible with http.
There are some DLNA client softwars for Windows/Linux i suppose.

Or, you can use hiawatha for the http server.

Re: URL not found

Posted: Wed 19 Dec 2012, 04:31
by umair
shinobar wrote:Have you set 3131 as the port number on the conf file?
port=8200 is the default.
But anyway the DLNA protocol is not compatible with http.
There are some DLNA client softwars for Windows/Linux i suppose.

Or, you can use hiawatha for the http server.
Thnx for reply shinobar:
Yes, I set 3131 port in conf. file.
I never used hiawatha before, can anyone tell me how to use hiawatha to
work as video streaming server for LAN clients, So LAN clients may watch videos from thr browser.

Posted: Sat 22 Dec 2012, 21:00
by trapster

MiniDLNA media server

Posted: Thu 10 Jan 2013, 22:09
by gcmartin
Hi @Umair

I am really late to this thread and your post.

DLNA is one type of protocol that can serve multimedia files. Thus to use it, you MUST setup DLNA as a server and YOU MUST have a DLNA user (so to speak) on your LAN who understands how to produce the media files for your enjoyment that are on the DLNA server. This is a DLNA to DLNA connection.

The browsers use a different technology for taking a media file from somewhere and playing it for your enjoyment. 3 technologies are: HTTP, FTP, and FILE.
DLNA is NOT one of the technologies that browsers understand or use.

BUT, there is hope! And this applies to the location on your LAN where your media folders/files are being shared from; You can do the following:
Install the SAMBA server and tell SAMBA to share your media folder with its LAN userss. You can then "play" your media files on ANY other LAN PC without the need to install anything.

One of the pieces of information missing in Puppyland is an explanation of what DLNA is and how it came to be. Briefly, the media monguls had NO luck in convincing the IEEE to move to modify the SMB protocol to their secure requirements. So they sponsored their own protocol (albeit inefficient) to match their needs. Hence, DLNA.

Your local PC using either MS/APPLE/SAMBA LAN services can access and "play" all/most of all your media files.

DLNA is being distributed by the Movie/Music/TV industry as their way of monitoring and controlling multimedia content within their domain of understanding.

On my Smart-TV I had to install a app-store program which allow me to access the media stored in my Windows+Samba PCs. This allows the Android to "mount" the folder from these LAN PCs so that I can play" them.

Anyone...did I infer this correctly. Is there anything that should be added about DLNA?

Also, there are several Puppy write-ups on SAMBA use in Puppy here. Post any issue you would have on its use, there.

Posted: Fri 11 Jan 2013, 07:19
by umair
gcmartin:
Thnx alot for such a detailed info:
I will try SAMBA and post the results.
Regards
UMAIR

A way to test using media files from one of your PCs

Posted: Mon 14 Jan 2013, 01:17
by gcmartin
umair wrote:gcmartin:
Thnx alot for such a detailed info:
I will try SAMBA and post the results.
Regards
UMAIR
@UMair, if you have any Windows PC with media files on your LAN, and your device that you want to play the media files is on the same LAN, then you need NOT install anything on any Windows PC to test what I have shared. All Windows PCs have a server feature built-in (whereas in PUPs, SAMBA must be installed).

Here a way to test how it works with 2 PCs.
  1. On Windows, share the folder with the media files. (This is known as the server in this case)
  2. On Puppy, mount that sharename and double-click any media file (music or video) to see it play.
  3. Or, on another Windows PC access the sharename and double-click any media file to see it play
This proves to you it will work, leaving, only that you get an app on your Android device to allow you to see the folders that are shared by those PCs on your LAN.

One app, that I saw year ago, automatically searches your LAN for media files after you fill in the username(s) and password(s).

Here to help :)

Posted: Mon 11 Feb 2013, 21:12
by blindman
blindman wrote: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.
Hello,
thanks shinobar for your work.

Do you have any ideas with my problem?

Uses of the conf file and quirks in the client filesystem

Posted: Tue 26 Mar 2013, 23:57
by stevielee
Hi all -

I have a few questions on this subject. I am new to "power user" type topics, so I was wondering if there are sites that really give great info on how to do media streaming, protocol types, etc. Because it seems that this thread would be very popular for people wanting to use puppy for streaming. Do they use other protocols and tweak their details rather than using dlna? Is one confined to using dlna if the streaming client device (like my LG BP220 blu ray player) seems, I guess, to use only dlna? It would be nice to get some responses on those questions.

I have used the minidlna program here in puppy, and it works well enough. It seems to take a while to scan, though. Is there a way to prevent recursive directory scanning? Also, what is a presentation url and the http port for media transfer traffic? Can this url and port be used for anything - like being accessed with a browser or monitored with a utility that monitors data incoming on ports?

Thanks,

Steven

Posted: Wed 26 Mar 2014, 23:23
by ally
I recent user of this pet

shinobar - thanks matey - brilliant stuff!!

:)

Cant get it work on Slacko 5.3 - OK on Pupeee

Posted: Thu 24 Apr 2014, 14:37
by linbie
Hi
With default settings I can get minidlna to work with pupeee. However if I use the same config file on slack 5.3 the server is not seen by any device?

Any suggestions

Re: Cant get it work on Slacko 5.3 - OK on Pupeee

Posted: Fri 25 Apr 2014, 06:55
by linbie
linbie wrote:Hi
With default settings I can get minidlna to work with pupeee. However if I use the same config file on slack 5.3 the server is not seen by any device?

Any suggestions
Worked it out - Turn Off the Firewall

Posted: Sun 10 Jan 2016, 04:37
by BJF
A bit of a late entry here, but I installed the minidlna-1.0.22-1.pet on a roughly 5 year old (I can check that out and supply details) Dell box running LXPup-Precise-Retro 14.10 that is our print server in the hope of having it serve photos and maybe music to a Samsung Smart TV.
I plugged a usb 1Tb drive in, and altered the .conf file to point to it; sdb1. Then I did the /etc/init.d/minidlna restart command and it returned a list of hyphenated options and a ready cursor. I rebooted and repeated the restart.
Going to the television, the server isn't visible in the Source menu where it would show up. My Galaxy S2 cellphone will appear as will our son's Windows laptop. I conclude then that the Dell box isn't connecting.
Could I ask for advice please as to whether -Retro could be expected to handle MiniDLNA and how to have the television get its attention. A setting to alter somewhere perhaps?

The box is ethernetted to a Belkin router and obviously in wifi contact with several laptops and phones from which it can and does print. There is no firewall in operation.

Thanks.

Posted: Sun 10 Jan 2016, 06:58
by greengeek
BJF wrote:I plugged a usb 1Tb drive in, and altered the .conf file to point to it; sdb1. Then I did the /etc/init.d/minidlna restart command and it returned a list of hyphenated options and a ready cursor. I rebooted and repeated the restart.
Hi BJF - I don't have any experience of this (just trying it now) but I have a couple of questions:
- Did you remove the ".sample" suffix from the minidlna conf file?
- Are your files in the root of sdb1 or within a subfolder?
cheers!

Posted: Sun 10 Jan 2016, 07:25
by greengeek
Hi Shinobar, thanks for this utility. I downloaded the minidlna-1.0.22-1.pet (the larger one with the internal sqlite) and found that it also needed the ffmpeg_runall-0.7.6-p4.pet to run on my Slacko 5.6 derivative. I followed your easy instructions and away it went happily serving to the Philips media player box. I haven't used this function on the Philips before and found that I had to select Upnp - I had been expecting to select DLNA but the option was not shown.

It works very well. Thanks!

Posted: Sun 10 Jan 2016, 09:08
by BJF
Greengeek: Hi there. Answers to those two questions..

Yes, the .sample suffix was removed from the modified file and the file saved alongside the original. Does the existence still of the suffixed file as well create a problem?
And.. The drive sdb1 contains two folders, namely one of the drive-issue NTFS utilities parcelled up into something I named CameWithIt, another labelled Photos, and a Screeny captured file.

I'd imagined that I would see the server on the television Sources menu anyway, and from that the content of sdb1 as listed above. But I see no server. Would some other instruction in the .conf file be needed to either wake MiniDLNA, or reveal those folders to the program? Should I specify the path as .../mnt/sdb1/Photos and thereby wake it?

Oh, and thanks.

Posted: Sun 10 Jan 2016, 13:30
by trapster
The suffix does not matter.
I have /etc/minidlna.conf, /etc/minidlna.conf-orig and /etc/minidlna.conf-bak.

Here is my /etc/minidlna.conf that I have been using for years with no issues on a samsung smart tv.

Code: Select all

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

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

# 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=/mnt/sdb1/mp3
media_dir=/mnt/sdb1/mp4
media_dir=V,/mnt/sdb1/movies
media_dir=/mnt/sdb1/photos

db_dir=/etc/minidlna

#log_dir=/etc/minidlna

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

# 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=no

# default presentation url is http address on port 80
presentation_url=http://XXXXXXXX:8400/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