Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 06 May 2016, 05:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
MiniDLNA media server
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [66 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
blindman

Joined: 21 Nov 2012
Posts: 2

PostPosted: Mon 11 Feb 2013, 17:12    Post subject:  

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?
Back to top
View user's profile Send private message 
stevielee

Joined: 25 Jul 2012
Posts: 32

PostPosted: Tue 26 Mar 2013, 19:57    Post subject: Uses of the conf file and quirks in the client filesystem  

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
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1176
Location: lincoln, uk

PostPosted: Wed 26 Mar 2014, 19:23    Post subject:  

I recent user of this pet

shinobar - thanks matey - brilliant stuff!!

Smile
Back to top
View user's profile Send private message Visit poster's website 
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Thu 24 Apr 2014, 10:37    Post subject: Cant get it work on Slacko 5.3 - OK on Pupeee  

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
Back to top
View user's profile Send private message 
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Fri 25 Apr 2014, 02:55    Post subject: Re: Cant get it work on Slacko 5.3 - OK on Pupeee  

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
Back to top
View user's profile Send private message 
BJF

Joined: 24 Mar 2008
Posts: 237
Location: Lower Hutt, New Zealand

PostPosted: Sun 10 Jan 2016, 00:37    Post subject:  

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.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 3726
Location: New Zealand

PostPosted: Sun 10 Jan 2016, 02:58    Post subject:  

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!
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 3726
Location: New Zealand

PostPosted: Sun 10 Jan 2016, 03:25    Post subject:  

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!
Back to top
View user's profile Send private message 
BJF

Joined: 24 Mar 2008
Posts: 237
Location: Lower Hutt, New Zealand

PostPosted: Sun 10 Jan 2016, 05:08    Post subject:  

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.
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2071
Location: Maine, USA

PostPosted: Sun 10 Jan 2016, 09:30    Post subject:  

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:
# 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

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
rufwoof


Joined: 24 Feb 2014
Posts: 1300
Location: UK

PostPosted: Sun 10 Jan 2016, 10:49    Post subject: Re: How to use minidlna?  

difedepe wrote:
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

I've taken the more direct approach. TV VGA input from PC VGA output (nvidia card in my case). External HDD plugged into PC USB, download to/play anything on that directly from PC to TV. Option to unplug the HDD and plug it into the TV's USB and play movies via the TV's media browser.

In short, TV (32 inch £100 cost in my case) is PC's monitor.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 3726
Location: New Zealand

PostPosted: Sun 10 Jan 2016, 14:34    Post subject:  

BJF wrote:
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.

Hi, could you list what the TV sees as possible sources please? (does it show Upnp or DLNA or "network services" or something similar?). As far as I understand it the dlna link is not like a normal network share it is a special protocol that should be listed separately. Maybe there is some other menu item which enables/disables some types of network services.
Also - have you ever had any dlna link running to this TV before?

Quote:
Would some other instruction in the .conf file be needed to either wake MiniDLNA, or reveal those folders to the program?
I don't think so. The proramme will be aware of them but the question is whether or not the TV has the capabilities to search recursively. When I tried it I only made the media directory change that Shinobar suggested and my media player box was able to find the files, search recursively and play them on the TV. (OK my philips media box has different code to your TV but the principle is the same).
EDIT : - It would pay to check what port your TV expects a dlna link to be incoming on. If different to what is shown in your conf file then update the setting in the conf file.

Quote:
Should I specify the path as .../mnt/sdb1/Photos and thereby wake it?
That should not be necessary but I think it is certainly worth a try. I imagine that different devices have different abilities in terms of recognising filesystems or folder/directory structures.

Are you able to post the contents shown in your terminal when you start the server? The hyphenated options you mentioned do not appear when I start the minidlna server here.

EDIT :If you continue to have problems I would recommend you try booting your Dell from a CD containing Slacko 5.6 (enter puppy pfix=ram at the boot prompt) and run the dlna server as mentioned in my previous post (it will also need the ffmpeg pet suggested by Shinobar). At least I know that combination works so it might be worth a trial if nothing else is successful.
.

Last edited by greengeek on Sun 10 Jan 2016, 14:41; edited 1 time in total
Back to top
View user's profile Send private message 
BJF

Joined: 24 Mar 2008
Posts: 237
Location: Lower Hutt, New Zealand

PostPosted: Sun 10 Jan 2016, 14:36    Post subject:  

Trapster: This is my .conf file. Comparing it to yours and expecting to look into sdb1, what do you see wrong with it. I notice for instance that my network interface to serve (fourth line) is commented out. Bingo?? Critique please, since in ignorance as a consumate file share Noob I only changed the path.


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

# network interfaces to serve, comma delimited
#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

# 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

# set this if you would like to specify the directory where you want MiniDLNA to store its log file
#log_dir=/var/log

# 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

# 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

# specify the path to the MiniSSDPd socket
#minissdpdsocket=/var/run/minissdpd.sock

# use different container as root of the tree
# possible values:
#   + "." - use standard container (this is the default)
#   + "B" - "Browse Directory"
#   + "M" - "Music"
#   + "V" - "Video"
#   + "P" - "Pictures"
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.
[code][/code]
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 3726
Location: New Zealand

PostPosted: Sun 10 Jan 2016, 14:43    Post subject:  

yes, uncomment the network eth0.
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2071
Location: Maine, USA

PostPosted: Sun 10 Jan 2016, 15:15    Post subject:  

I would use:
Code:
media_dir=/mnt/sdb1/Photos

if you indeed have a directory named "Photos" on sdb1.

Also, make sure sdb1 is mounted.

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 5 [66 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0668s ][ Queries: 13 (0.0054s) ][ GZIP on ]