General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Jun 27, 2017 12:14 am

All times are UTC




Post new topic Reply to topic  [ 281 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19  Next
Author Message
PostPosted: Sun Oct 30, 2016 7:47 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 594
Hi,

I Can see the minidlna at the package list, and here is a direct link, for barmalej's latest minidlna package. If You Cannot see at the slacker, You have to add br repo manually, using the uwsiteloader tool.

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sun Oct 30, 2016 8:38 pm 
Offline

Joined: Sun Oct 30, 2016 7:07 pm
Posts: 3
Thanks for the link.
Unfortunately after running uwsiteloader.sh and installing some packages now I get this error when trying to use wget:
wget: can't load library 'libgcrypt.so.11'
Edit: I copied the package file another way but now when I want to start the process I get:
Starting minidlna.../ffp/bin/minidlna: can't load library 'libavformat.so.55'


Top
 Profile  
 
PostPosted: Sun Oct 30, 2016 8:58 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 594
Ooo... Bad news! Did You removed the gcrypt package?

If the wget binary not works, You have to download this package via a desktop computer (or a laptop also nice) and You have to copy it for example to the NAS's admin share.

After it, login via SSH and execute:

Code:
funpkg -i /mnt/HD_a2/admin/libgcrypt-1.5.0-arm-1.txz


And hopefuly, the wget binary will works.

Btw: the built in wget binary (at /bin/wget) also gives You the same output? :roll:

Mod:

Quote:
Edit: I copied the package file another way but now when I want to start the process I get:
Starting minidlna.../ffp/bin/minidlna: can't load library 'libavformat.so.55'


You have to install br2's ffmpeg package. Because the avformat is a part of the ffmpeg (and libav too). I recommend to install the whole ffmpeg, which is available at the repo, via this command:

Code:
slacker -uiA br2:ffmpeg/

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sun Oct 30, 2016 9:18 pm 
Offline

Joined: Sun Oct 30, 2016 7:07 pm
Posts: 3
Works like a charm :)
Great help! Thanks MrDini!


Top
 Profile  
 
PostPosted: Sun Oct 30, 2016 9:54 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 594
Cool! You're welcome! :D

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Wed Nov 02, 2016 10:44 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2280
Minidlna package is updated to 1.1.6 version. Changelog:
https://sourceforge.net/p/minidlna/git/ci/master/tree/NEWS


Top
 Profile  
 
PostPosted: Wed Nov 02, 2016 1:58 pm 
Offline

Joined: Tue Mar 12, 2013 9:52 am
Posts: 10
Hi barmalej2, can you share your configuration options for minidlna please? When I compile the package from the git source, it just stops scanning on some video files and does not resume scanning.


Top
 Profile  
 
PostPosted: Wed Nov 02, 2016 4:47 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2280
Here you are:
http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/scripts/build/minidlna.sh
hlavicka wrote:
it just stops scanning on some video files and does not resume scanning.

Can give me example to reproduce case? I would like to test mine build as well. More likely it is bug in minidlna itself.


Top
 Profile  
 
PostPosted: Sat Dec 24, 2016 3:39 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 594
Hi,

First of all, merry christmas for all! :)

For a request, I built a patched minidlna 1.1.5 (yes, not the latest one, just because this source is stable for me), but with optional thumbnail generation support for all Your video files (which is supported by ffmpegthumbnailer).

It Can be easily installed via this command:

Code:
slacker -UuiA br2:ffmpeg2/ s:libjpeg uli:flac s:libexif uli:libid3tag uli:libogg uli:libvorbis mz:sqlite mrdini:ffmpegthumbnailer mrdini:minidlna-thumb


And when every dependancie installed successfully, You just have to modify the config at /ffp/etc/minidlna.conf to fit for Your conditions. And here You Can also enable the thumb creation (that is disabled by default) and of course You Can find some other options, like the quality of the generated pictures etc. I think it will be clear, because of the detailed comments.

Finally, test if it Can be started by typeing:

Code:
sh /ffp/start/minidlna.sh start


And just if everything looks good, add an execute permission to the start script, So it will be executed at every FFp boot time:

Code:
chmod a+x /ffp/start/minidlna.sh


Have fun!

Any feedback is welcome! :D

Ps: I used barmalej2's minidlna start script at the package, So the credit belongs to him. Many thanks for Your nice work! ;)

_________________
Thanks nas-central the lot of help! :)


Last edited by MrDini on Sat Dec 24, 2016 11:04 pm, edited 2 times in total.

Top
 Profile  
 
PostPosted: Sat Dec 24, 2016 4:45 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2280
I removed ffmpegthumbnailler from my repo, so edit your instructions.


Top
 Profile  
 
PostPosted: Wed May 24, 2017 9:36 am 
Offline

Joined: Tue Nov 03, 2015 1:54 pm
Posts: 18
Hello

2017-05-18 Version 1.2.0 is out.

Code:
1.2.0 - Released 17-May-2017
--------------------------------
- Add libavformat > 57 compatibility.
- Add TiVo Bonjour discovery support using Avahi for Bolt.
- Improve Samsung BD-J5500 support.
- Add quirk to fix video playback on Hyundai TVs.
- Add non-destructive update rescan support.
- Enhance bookmark support to work with Kodi.


Bye

_________________
D-Link DNS-320 rev A1 - MiniDLNA 1.2.0 (barmalej2)
TV Samsung UE48JU6400
TV Samsung UE32ES5500


Top
 Profile  
 
PostPosted: Wed May 24, 2017 12:03 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2280
Thanks for info. I will update Minidlna soon, hopefully in several days, when I will finish with ffmpeg and tvheadend updates first.


Top
 Profile  
 
PostPosted: Sat May 27, 2017 7:59 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2280
Done. Updated MiniDLNA version 1.2.0 is uploaded to br2 repository. Steps to install/upgrade MiniLDNA (root priviledges is requirement):
1. # Check, if you have slapt-get package installed. If no, then proceed further else proceed from step3:
Code:
funpkg -q slapt-get

2. # If there is no slapt-get installed, then create funpkg cache dir for br2 repo in case it not exists and install new slapt-get package manager:
Code:
[ -d /ffp/funpkg/cache/br2 ] || mkdir -p /ffp/funpkg/cache/br2
cd /ffp/funpkg/cache/br2
/ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz
funpkg -i slapt-get-0.10.2t-arm-2.txz

3. # Update slapt-get lists and upgrade core packages:
Code:
slapt-get -u
slapt-get --upgrade

4. # Restart sshd daemon service after upgrading:
Code:
sh /ffp/start/sshd.sh restart

5. # Stop current running MiniDLNA daemon service in case of upgrade:
Code:
sh /ffp/start/minidlna.sh stop

6. # Install MiniLDNA package with dependent packages together:
Code:
slapt-get -i minidlna

7. # Start MiniDLNA daemon service after updating package:
Code:
sh /ffp/start/minidlna.sh start

8. # Enable auto start of service, if desired:
Code:
chmod 755 /ffp/start/minidlna.sh


Several remarks:
FFMPEG is updated to the latest version with additional external libraries together.
The new Minidlna feature:non-destructive update rescan support is implemented in the updated daemon service start script:
Code:
sh /ffp/start/minidlna.sh

Usage: /ffp/start/minidlna.sh (start|stop|restart|status|rebuild|reload|rescan)
Use reload to update changed settings in config file for running minidlna service.
Use rebuild command for full database rebuild from the scratch.
Use rescan for non-destructive, soft database update.


Top
 Profile  
 
PostPosted: Tue May 30, 2017 2:28 pm 
Offline

Joined: Tue Nov 03, 2015 1:54 pm
Posts: 18
Thank you very much for all this work ;) ;)

_________________
D-Link DNS-320 rev A1 - MiniDLNA 1.2.0 (barmalej2)
TV Samsung UE48JU6400
TV Samsung UE32ES5500


Top
 Profile  
 
PostPosted: Wed May 31, 2017 5:22 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2280
You're welcome.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 281 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 34 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group