Note: Can’t see live counter image above? Try again later as my WDMyCloud is offline!
A lightweight Twonky alternative! ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients. It is developed by a NETGEAR employee for the ReadyNAS product line.
This is MiniDLNA various original/patched versions for firmware V4+ successfully built with 64K page size memory patch. For setups and details, refer to https://wiki.archlinux.org/index.php/MiniDLNA.
For those interested on how to build from the source, refer to this thread. It may help others to continue supporting the 64K page size memory for other packages. Below are my simplified instructions on how to get it installed on the V4 firmware (will not work on older firmwares).
AND I have also made an online generic 64K page size memory package installer to simplify the installations of Debian packages on WDMyCloud. This will not work on older version 3 WD firmwares and I’m not planning to support it either as I’m sticking with the V4 firmwares. Based on dynamic server-side FastCGI, perl and shell scripts, I’ll be using this method for newer guides from now onwards. Feel free to parse the script codes. All bug reports, opinions and suggestions are welcomed.
The Generic Online Installer:
1) Auto download of required debs including its dependencies if any.
2) Debs installation in the required order to prevent dependency issues.
3) Auto run custom configurations if any.
If you proceed further, you are fully aware of the usual WD’s _warranty void _clauses including disclaimer from any damages that may resulted from this guide.
-
Enable SSH on your NAS from the WD DashBoard settings if not done so. SSH to your NAS port 22 using i.e. putty root@wdmycloud.
-
To proceed with the installation, first you need to get the username and password from me. The credentials will expire hourly e.g. “1AM,2AM,3AM…” to prevent intentional abuse on my network resources. Click on the link below to get the credentials :
-
After obtaining the credentials, just copy & paste into the SSH terminal session of your WDMyCloud:
export NAZAR78_USER=user;
export NAZAR78_PASS=pass;
export NAZAR78_KEYS=keys; -
Then run the online installer on your WDMyCloud copy & paste as below, follow the instructions and enjoy (-:
Choose your version below. Note that each has some differences in the** /etc/minidlna.conf file. If you’re upgrading without uninstalling previous version (dpkg --purge minidlna) and you need those new variables, please manually edit by referring to the new changes in /etc/minidlna.conf.dpkg-dist.
Original Version 1.0.24:
Built from Debian Wheezy source distribution.
curl teanazar.com/installer.fcgi?minidlna_1.0.24|sh;
Original Version 1.1.4-1:
Built from author’s source @ SourceForge.
curl teanazar.com/installer.fcgi?minidlna_1.1.4-1|sh;
Original Version 1.1.5-1:
Built from author’s source @ SourceForge.
curl teanazar.com/installer.fcgi?minidlna_1.1.5-1|sh;
Patched Version 1.1.3.patched-1:
Built from author’s source @ SourceForge. Patched with this and this created by bitblasters and Eduardo Rocha @ SourceForge. Thanks Shurik85 for pointing out in this thread.
Patches (all enabled by default in /etc/minidlna.conf):
– FLAG_SAMSUNG_DCM10 config.
– Video thumbnails config.
– Virtual folders config.
– Device based bookmarks config.
curl teanazar.com/installer.fcgi?minidlna_1.1.3.patched-1|sh;
Patched Version 1.1.4.patched-1:
Built from author’s source @ SourceForge. Patched with this and this created by bitblasters and Eduardo Rocha @ SourceForge. Thanks Shurik85 for pointing out in this thread.
Patches (all enabled by default in /etc/minidlna.conf):
– FLAG_SAMSUNG_DCM10 config.
– Video thumbnails config.
curl teanazar.com/installer.fcgi?minidlna_1.1.4.patched-1|sh;
Patched Version 1.1.5.patched-1:
Built from author’s source @ SourceForge. Patched with this created by Shrimpkin.
Patch:
Adds [-r] option to rescan without rebuilding the database:
-r forces a rescan
-R forces a rebuild
Creator’s Note:
Shrimpkin:-
– On rescan, any directories and files which cannot be access are removed. Any files with different timestamps are removed, then reinserted. New files and directories are added as long as they are readable.
– Here is an updated patch (v2) of this feature which cleans up the code a little bit. Also, it removes the duplicate inotify code by modifying the existing inotify code.
curl teanazar.com/installer.fcgi?minidlna_1.1.5.patched-1|sh;
Original Version 1.2.0-1:
Built from author’s source @ SourceForge.
curl teanazar.com/installer.fcgi?minidlna_1.2.0-1|sh;
For quick backup and restore when WD release newer firmware update:
-
Before updating firmware:
cp -a /etc/minidlna.conf /shares/Public/;
-
After updating firmware:
cp -f /shares/Public/minidlna.conf /etc/;
-
Run the online installer again. Your settings will be preserved and you may then remove the conf backup.
Online Installer change log:
[20141105] Added MiniDLNA v1.0.24.
[20141106] Fixed missing dependency libvpx1.
[20141109] Added MiniDLNA v1.1.4-1.
[20141118] Printing of package size during install. - Check and warn available rootfs space before installing.- Changed tmp path to allocate larger than 100Mb installs.
[20141210] Added MiniDLNA v1.1.3.patched-1. - +FLAG_SAMSUNG_DCM10/Bookmarks/Thumbnails- Added MiniDLNA v1.1.4.patched-1. - +FLAG_SAMSUNG_DCM10/Thumbnails
[20150928] Added MiniDLNA v1.1.5-1.
[20151017] Added MiniDLNA v1.1.5.patched-1.
[20170805] Added MiniDLNA v1.2.0-1.