New minidlna package for unmenu (including Samsung and Sony TV patches)


Recommended Posts

  • Replies 81
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 4 weeks later...

Following the last post:

I'm trying to use the minidlna available at this link http://dl.dropbox.com/u/48364/miniDLNA/minidlna-1.0.22-i486-1.tgz

 

but it tells me:

parsing error file /etc/minidlna.conf line 67 : samsung_external_mta_files=no

 

Question 1:

Is this version actually patched with the Samsung menu patch?

 

Question 2: Is this statically compiled?

 

Question 3:

Any chance to get this wonderful package updated to minidlna 1.0.24?

 

Many many thanks!!!

Link to comment
  • 3 months later...

Will be uploading a new version of the package for v1.0.24 shortly.

 

Fixes included are:

 

1.0.24 - Released 14-Feb-2012

--------------------------------

- Fix playlist browsing with no SortOrder specified.

- Fix inotify detection of caption file removal.

- Handle an empty DeviceID from Zyxel media player SOAP request.

- Fix false positives in playlist caching optimization when we have duplicate file names in different directories.

- Trim the camera model name extracted from EXIF tags.

- Add support for user-configurable log level settings.

- Add DLNA.ORG_FLAGS support.

 

1.0.23 - Released 23-Jan-2012

--------------------------------

- Enable the subtitle menu on some Samsung TV's.

- Add subtitle support for Panasonic TV's.

- Add workarounds for LifeTab tablets' bad behavior.

- Speed up playlist parsing.

- Make metadata-based virtual containers case insensitive.

- Add folder art support (very few clients support this though).

- Improve trimming of quotation marks.

- Fix SRT caption support with the latest Samsung Series D firmware.

- Fix subtitles on LG TV's for items whose titles don't have a dot in them.

- Add support for the av:mediaClass tag, so some Sony devices can filter items by media type.

- Fix inotify detection issues on first-level folders.

- Work around LifeTab's broken DLNA support.

- Add image rotation support during resize. (mostly useful for TiVo)

 

There are also a couple of fixes to the minidlnactl script as well.

 

Will be making this available permanently via a public dropbox link.

 

Please keep your eyes on the first post in the thread for a new link to the conf file.

 

Link to comment

You can always run installpkg and get the actual files into place.

 

e.g. installpkg minidlna-1.0.24-i486-1.tgz

 

You can automate this installation by adding something to your go script, or by putting the package file into /boot/extra.

 

The thing you will be missing is a configuration file appropriate to your setup.

 

To get this, you'll need to hand edit the file that I supply with the package. Go to the /boot/custom/minidlna/minidlna.conf directory.

In there, you'll find a sample configuration file. Edit this file to suit your needs.

 

Now create a new directory in /boot/custom/minidlna called 'minidlna_conf, and copy your edited config file into it.

It's important that the config file is called 'minidlna.settings'.

 

You can start and stop minidlna by running:

 

/boot/custom/minidlna/minidlnactl start

 

and

 

/boot/custom/minidlna/minidlnactl stop

 

Can't think of anything else that you'd need.

 

 

 

 

Link to comment
  • 2 months later...

well for whatever reason, miniDLNA's scanner chokes on about 9 movies that I have out of over a thousand, I removed those movies and the scanner was able to finish building the database.

 

Everything works now.

 

In the process I noticed there's a new version 1.0.25, I tried using it, and got it half working, not sure why it didn't fully work though... but i guess I'll leave it at 1.0.24 since it works.

Link to comment
  • 2 weeks later...

Hi

 

this is my first server version 4.7.  I have copied some tv shows to the unRAID server, in the video folder

 

The share setting are as follows:

 

Flash share (SMB):           Export read/write

Disk shares (SMB):           Export read/write

Disk shares (NFS):           192.168.1.*

User shares:                   Enabled (array must be Stopped to change)

 

User shares

                     

Share name:                   Movies

Comments:

Allocation method:           High-water 

Min. free space:           0

Split level:                   3

Included disk(s):           disk1,disk2

Excluded disk(s):

Export (SMB):                   Export read/write

Export (NFS):

 

Share name:                   Video

Comments:

Allocation method:           High-water 

Min. free space:           0

Split level:                   4

Included disk(s):           disk1,disk2

Excluded disk(s):

Export (SMB):                   Export read/write

Export (NFS):

 

 

I think I manage to install miniDLNA correctly..

In unmenu, pkg manager, I can see "minidlna (lightweight DLNA server)  'Currently Installed (in blue)'.

 

I have a Samsung TV, when I select the source bottun on the remote, I can see the little penguin and "unRAID".

After selecting it I get 2 folders, 1 - All Video, 2:- Folders, both are empty.

 

Can anyone please  ?????

Link to comment

It sounds like you've not configured minidlna to point at your video directories.

When you first install minidlna, there is a section called 'Configuration variables' in the unmenu package install screen.

 

You will see that you have media_dir[1-5] listed in there. You must specify at least one media_dir entry in order for minidlna to find your video.

 

I'm guessing you wold need to set media_dir1 to /mnt/user/Movies and media_dir2 to /mnt/user/Video.

 

Minidlna should then pick up your video, and it will show on the TV.

 

Link to comment

Firstly, I should say that I've never tested the minidlna package under 4.7. If it's working, then great. If not, I can't really offer much support, as I've never used 4.x

 

As for changing the settings, then just follow the onscreen prompts. Just do the following:

 

1) Go to Pkg Manager in unMenu.

2) Select minidlna.

3) Click on 'Edit Configuration Values'.

4) Make your changes.

5) Click 'Save New Values'.

 

That should do it.

 

 

Link to comment
  • 1 month later...
  • 1 month later...

It works for me but each time I reboot my unraid server I have to type this unix command :

"/etc/rc.d/unraid.d/rc.unraid_minidlna rescan ".

How can I make an automatic rescan on reboot

Add that line to the end of the go file, you may have to add a delay line immediately above it to allow time for the array to fully start and all your packages to run.

Link to comment

It seems that something in the boot timing has changed from around the rc3 timeframe to rc8a.

It used to be the case that I could simply install and auto-start unmenu packages, and all would be fine.

Now, I'm finding that certain array resources aren't online when the 'go' script tries to install and start unmenu packages.

 

I've also moved to using a 'cache only' share for my app installs, which I think has made this worse.

 

I'm now putting the following in my 'go' script:

 

# Determine if cache drive share for apps is online, retry upto 7 times
for i in 0 1 2 3 4 5 6 7
do
    echo "Waiting for user apps share to come online."
    logger "go: Waiting for user apps share to come online."
    if [ ! -d /mnt/user/apps ]
    then
      sleep 15
    fi
done

# If Cache drive is online, install and start unmenu packages
if [ -d /mnt/user/apps ]; then

echo "User apps share is online. Installing packages."
logger "go: User apps share is online. Installing packages."
# Install unmenu packages
cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -
n1 sh -c

fi

 

With regards to rescanning your media, minidlna uses inotify to detect new files whilst it is running. In theory, any new media should be automatically added to the minidlna library, as long as it's running when you copy the files in. You should only need a manual rescan if new media has been copied across whilst minidlna was stopped.

 

I'm working on a new version of minidlna for unRAID, which uses the v5 plugin architecture. In theory, all of this messing about with startup should go away. It's nowhere near ready as yet, but I'm hoping to knock it into shape over the Christmas holidays.

 

Andy.

 

Link to comment
  • 4 months later...

Just installed miniDLNA and it was a breeze to do and appear on my home network.

 

I'm using XBMC to watch movies. I have a separate .srt file with the same name as the movie, but they don't appear on the media server (unRAID) and also not on the movie. Is there anything I should try to make the subtitles appear?

 

Thanks

 

Link to comment
  • 2 months later...
  • 2 weeks later...

Just installed miniDLNA and it was a breeze to do and appear on my home network.

 

I'm using XBMC to watch movies. I have a separate .srt file with the same name as the movie, but they don't appear on the media server (unRAID) and also not on the movie. Is there anything I should try to make the subtitles appear?

 

Thanks

 

With regards to subtitles, then there should be an option in XBMC to turn them on.

All of my movies have separate .SRT files (with same filename as movie) e.g. Avatar.mkv has subtitles file Avatar.srt.

 

I have no problems enabling subtitles on my Samsung TV, which is my main playback device, so this functionality does work.

 

Link to comment

Hi, any possibility to get this pakage updated?

 

thanks.

 

Absolutely. I'm working on an unRAID v5 native plugin right now.

Hopefully, I'll have something ready for testing by the end of next week.

 

This will bring with it the new v1.1 version of minidlna, and will end support for unRAID v4.x.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.