What's new

[TUTORIAL] Minidlna Media Server through debian-optware-arm

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

How this works for you?


  • Total voters
    10
Minidlna v1.1.3 ready with the following changelog:

1.1.3 - Released 05-June-2014
--------------------------------
- Enhance log level settings.
- Fix Samsung browsing when root_container is set.
- Add Clang compiling support.
- Fix compiling on systems without iconv.
- Add merge_media_dirs option, to revert to the old behavior.
- Add Asus O!Play client support.
- Fix Broken SSDP multicast membership addition.
- Fix crash bug with an emtpy filter argument.
- Accept SMI subtitles in addition to SRT.
- Add BubbleUPnP detection and enable subtitle support.
- Allow the user to specify an arbitrary root container.
- Add libavcodec > 54 / libav 10 compatibility.
- Get embedded cover art from video files with recent libavformat versions.
- Disable Samsung DCM10 capability, as it breaks compatibility with new models.
- Add subtitle support for NetFront™ Living Connect middleware-based clients.
1. Stop minidlna
Code:
/opt/etc/init.d/S99debian stop
2. Enter chrooted debian
Code:
mount -o bind /dev/ /mnt/[COLOR="Red"]sda1[/COLOR]/debian/dev/
mount -o bind /proc/ /mnt/[COLOR="red"]sda1[/COLOR]/debian/proc/
mount -o bind /sys/ /mnt/[COLOR="red"]sda1[/COLOR]/debian/sys/
chroot /mnt/[COLOR="red"]sda1[/COLOR]/debian /bin/bash
3. Copy paste this commands:
Code:
dpkg -r minidlna
rm -r /opt/minidlna
cd /var/tmp
wget -c -O minidlna_1.1.3-1_armel.deb http://goo.gl/J9wO5u --no-check-certificate
dpkg -i minidlna_1.1.3-1_armel.deb
wget -c -O minidlna.conf http://goo.gl/H04xW2 --no-check-certificate
cp -r minidlna.conf /etc
chmod 777 /etc/minidlna.conf
4. Exit debian
Code:
exit
5. Start minidlna
Code:
/opt/etc/init.d/S99debian start
6. Enjoy your media :)
 
Last edited:
Hi, i have problem with this:

root@RT-AC68U:/var/tmp# dpkg -i minidlna_1.1.3-1_armel.deb
dpkg: error processing minidlna_1.1.3-1_armel.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
minidlna_1.1.3-1_armel.deb

Can you help me? THX

Minidlna v1.1.3 ready with the following changelog:


1. Stop minidlna
Code:
/opt/etc/init.d/S99debian stop
2. Enter chrooted debian
Code:
mount -o bind /dev/ /mnt/[COLOR="Red"]sda1[/COLOR]/debian/dev/
mount -o bind /proc/ /mnt/[COLOR="red"]sda1[/COLOR]/debian/proc/
mount -o bind /sys/ /mnt/[COLOR="red"]sda1[/COLOR]/debian/sys/
chroot /mnt/[COLOR="red"]sda1[/COLOR]/debian /bin/bash
3. Copy paste this commands:
Code:
dpkg -r minidlna
rm -r /opt/minidlna
cd /var/tmp
wget http://goo.gl/J9wO5u
dpkg -i minidlna_1.1.3-1_armel.deb
wget http://goo.gl/H04xW2
cp -r minidlna.conf /etc
chmod 777 /etc/minidlna.conf
4. Exit debian
Code:
exit
5. Start minidlna
Code:
/opt/etc/init.d/S99debian start
6. Enjoy your media :)
 
another error :(


root@RT-AC68U:/var/tmp# cp -r minidlna.conf /etc
cp: cannot stat `minidlna.conf': No such file or directory

THX
 
okay, all working, but scanner cant find any files:

[2014/07/07 13:39:43] minidlna.c:1043: warn: Starting MiniDLNA version 1.1.3.
[2014/07/07 13:39:43] minidlna.c:355: warn: Creating new database at /opt/minidlna/files.db
[2014/07/07 13:39:43] minidlna.c:1082: warn: HTTP listening on port 8200
[2014/07/07 13:39:43] scanner.c:706: warn: Scanning /mnt
[2014/07/07 13:39:43] scanner.c:793: warn: Scanning /mnt finished (0 files)!
[2014/07/07 13:39:43] playlist.c:125: warn: Parsing playlists...
[2014/07/07 13:39:43] playlist.c:259: warn: Finished parsing playlists.

Why? THX
 
I have set:

PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin
# Folder with Debian Squeeze
CHROOT_DIR=/tmp/mnt/OPTWARE/debian
# CHROOT_DIR=/mnt/OPTWARE/debian
# Some folder outside of sandbox, will be mounted to /mnt folder in Debian
# Leave commented if not needed
EXT_DIR=/tmp/mnt

And i want to scan all under /mnt

Its correct? THX
 
I have set:

PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin
# Folder with Debian Squeeze
CHROOT_DIR=/tmp/mnt/OPTWARE/debian
# CHROOT_DIR=/mnt/OPTWARE/debian
# Some folder outside of sandbox, will be mounted to /mnt folder in Debian
# Leave commented if not needed
EXT_DIR=/tmp/mnt

And i want to scan all under /mnt

Its correct? THX
Remove minidlna db
rm -r /opt/minidlna
Start server again
If it's not working, try to reboot and put only one directory not all /mnt
 
Getting an error right from the start:


cannot find package http:goo.gl/5Ltmig
 
No subtitles

Hi All,
I've just installed version 1.1.4, it's working fine but I have no subtitles.

I am using my ipad with 2 different applications (oPlayer and CineXPlayer) and none of them can see the .srt files. I've tried from my windows laptop and same thing.
It's the first time i use mindlna, so can not tell if it works with previous versions.

Any help would be appreciated as subtitles are very important for me.

Thank you.
Bye
 
Hello,

I'm very happy with 1.1.4 but in my systemlog are some errors...:

Code:
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3530 blocks in bitmap, 26383 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3540 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3550 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3560 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3570 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3580 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3590 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3600 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3610 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3620 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3630 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3640 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3650 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3660 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3670 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3680 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3690 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3700 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3710 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3720 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3730 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3740 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3750 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3760 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3770 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3780 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3790 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3800 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3810 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3820 blocks in bitmap, 30718 in gd
Jan  1 01:00:47 kernel: EXT4-fs error (device sda1): ext4_mb_generate_buddy:717: group 3830 blocks in bitmap, 30718 in gd
Jan  1 01:00:48 kernel: JBD: Spotted dirty metadata buffer (dev = sda1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.

I tried to check it with e2fsck, but i cant umount it complete, even with umount -l /dev/sda1

can it be because of the swap file?

first i stopped ...debians99 stop with twice, then i wanted to umount, not going, so with option -l but still then e2fsck say sda1 is in use

by the way, is the error in the code something serious?

oh and if i begin to send some files via ftp for the first time after a reboot of AC87 to the dev:
Code:
Jan 17 10:42:04 kernel: EXT4-fs (sda1): error count: 310
Jan 17 10:42:04 kernel: EXT4-fs (sda1): initial error at 1420991843: ext4_mb_generate_buddy:717
Jan 17 10:42:04 kernel: EXT4-fs (sda1): last error at 1293840047: ext4_mb_generate_buddy:717
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top