sim_tcr
Posts: 326
Joined: Tue Nov 06, 2012 1:01 pm
Location: Bangalore
Contact: Website

Minidlna 1.1.2 is released. apt-get installed 1.0.24

Mon Mar 10, 2014 10:30 am

Hello,

Today I installed Minidlna on my raspberry pi using apt-get. The version got installed is 1.0.24. Which got introduced in 2012.

Latest version in sourceforge is 1.1.2.

Can we get raspbian repositories updated with latest version.

I am hoping latest version will have new features added.

Thanks,
Simon Mandy
http://raspisimon.no-ip.org
Raspberry Pi Model B x 2, Raspberry Pi 2 x 2, Transcend 32GB Class 10, Transcend 16GB Class 10, Transcend 8GB Class 4, Custom 12V 1.5A (stepped down to 5.5V)

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Mon Mar 10, 2014 5:39 pm

If you have looked at sourceforge then you will probably know that these are the features of the new release -

Code: Select all

1.1.2 - Released 06-Mar-2014 
-------------------------------- 
- Show client status on our basic presentation page. 
- Add a new force_sort_criteria option, to globally override the SortCriteria value sent by the client. 
- Fix a couple resource leaks. 
- Add configuration include file support. 
- Support DLNA/UPnP-AV searches issued by clients using the Grilo framework. 
- Fix some clients playing artwork instead of movie. 
- Fix bookmarks on Samsung Series E clients. 
- Add an extra folder level if there are multiple media locations. 
- Fix some multicast membership issues with changing network settings. 
- Make max number of children (connections) configurable. 
- Fix choppy playback with some file types on Panasonic clients by increasing the max connection limit. 
The nice thing about open source software is that you can download and install newer versions for yourself whenever you wish without waiting for other people to distribute them.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

sim_tcr
Posts: 326
Joined: Tue Nov 06, 2012 1:01 pm
Location: Bangalore
Contact: Website

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Mon Mar 10, 2014 6:51 pm

I am not comfortable doing manual install of tar package. It will complain lot of dependencies missing.
http://raspisimon.no-ip.org
Raspberry Pi Model B x 2, Raspberry Pi 2 x 2, Transcend 32GB Class 10, Transcend 16GB Class 10, Transcend 8GB Class 4, Custom 12V 1.5A (stepped down to 5.5V)

tvjon
Posts: 710
Joined: Mon Jan 07, 2013 9:11 am

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Tue Mar 11, 2014 8:08 pm

To follow on from DeeJay,

RPi is designed to encourage users to learn. It seems unrealistic for the Foundation's limited resources to keep rebuilding thousands of Linux packages. It can be daunting to attempt some major package builds, so often some research is necessary to find missing bits of the puzzle :)

However, the software you're interested in takes < 1 hour to build on RPi.

Here's the procedure I followed after downloading the compressed file, & extracting its contents to a folder on the SD card.

sudo apt-get install libexif-dev libsysfs-dev libid3tag0-dev libFLAC-dev libvorbis-dev libsqlite3-dev libavformat-dev

pi@swag0 ~/Downloads/minidlna-1.1.2 $ ./autogen.sh

pi@swag0 ~/Downloads/minidlna-1.1.2 $ ./configure

pi@swag0 ~/Downloads/minidlna-1.1.2 $ make

pi@swag0 ~/Downloads/minidlna-1.1.2 $ sudo make install

Why not just attempt it? If the build is unsuccessful & you don't feel like doing any detective work, just delete the folder & move on.

HTH.

ghans
Posts: 7873
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Tue Mar 11, 2014 8:17 pm

The foundation does not build 99 % of the Raspbian packages
AFAIK. The Raspbian project does that mostly by itself.

The reason of an old minidlna version in Raspbian is that
Raspbian is based on Debian and Debian has the same , slightly
older version available.

You might want to contact the Debian maintainer of the minidlna
package.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

sim_tcr
Posts: 326
Joined: Tue Nov 06, 2012 1:01 pm
Location: Bangalore
Contact: Website

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sat Mar 15, 2014 12:17 pm

tvjon wrote:To follow on from DeeJay,

RPi is designed to encourage users to learn. It seems unrealistic for the Foundation's limited resources to keep rebuilding thousands of Linux packages. It can be daunting to attempt some major package builds, so often some research is necessary to find missing bits of the puzzle :)

However, the software you're interested in takes < 1 hour to build on RPi.

Here's the procedure I followed after downloading the compressed file, & extracting its contents to a folder on the SD card.

sudo apt-get install libexif-dev libsysfs-dev libid3tag0-dev libFLAC-dev libvorbis-dev libsqlite3-dev libavformat-dev

pi@swag0 ~/Downloads/minidlna-1.1.2 $ ./autogen.sh

pi@swag0 ~/Downloads/minidlna-1.1.2 $ ./configure

pi@swag0 ~/Downloads/minidlna-1.1.2 $ make

pi@swag0 ~/Downloads/minidlna-1.1.2 $ sudo make install

Why not just attempt it? If the build is unsuccessful & you don't feel like doing any detective work, just delete the folder & move on.

HTH.
I have successfully done till ./configure.

Code: Select all

pi@raspiabita ~/minidlna-1.1.2 $ sudo make
make  all-recursive
make[1]: Entering directory `/home/pi/minidlna-1.1.2'
Making all in po
make[2]: Entering directory `/home/pi/minidlna-1.1.2/po'
test ! -f ./minidlna.pot || \
          test -z "da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nb.gmo nl.gmo pl.gmo ru.gmo sl.gmo sv.gmo" || make da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nb.gmo nl.gmo pl.gmo ru.gmo sl.gmo sv.gmo
make[3]: Entering directory `/home/pi/minidlna-1.1.2/po'
rm -f da.gmo && : -c --statistics --verbose -o da.gmo da.po
mv: cannot stat `t-da.gmo': No such file or directory
make[3]: *** [da.gmo] Error 1
make[3]: Leaving directory `/home/pi/minidlna-1.1.2/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/home/pi/minidlna-1.1.2/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pi/minidlna-1.1.2'
make: *** [all] Error 2
pi@raspiabita ~/minidlna-1.1.2 $
Can you help please?
http://raspisimon.no-ip.org
Raspberry Pi Model B x 2, Raspberry Pi 2 x 2, Transcend 32GB Class 10, Transcend 16GB Class 10, Transcend 8GB Class 4, Custom 12V 1.5A (stepped down to 5.5V)

rbiks
Posts: 16
Joined: Sun Oct 07, 2012 2:47 pm
Location: central Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Fri Mar 21, 2014 8:07 pm

Can you help please?
Looks like gettext is missing. Install it and try again. Compiling worked without errors for me. Install needed libraries first by executing

Code: Select all

apt-get build-dep minidlna
HTH

sim_tcr
Posts: 326
Joined: Tue Nov 06, 2012 1:01 pm
Location: Bangalore
Contact: Website

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sat Mar 22, 2014 3:34 pm

rbiks wrote:
Can you help please?
Looks like gettext is missing. Install it and try again. Compiling worked without errors for me. Install needed libraries first by executing

Code: Select all

apt-get build-dep minidlna
HTH

Code: Select all

pi@raspiabita ~ $ sudo apt-get build-dep minidlna
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
pi@raspiabita ~ $
Help again please..
http://raspisimon.no-ip.org
Raspberry Pi Model B x 2, Raspberry Pi 2 x 2, Transcend 32GB Class 10, Transcend 16GB Class 10, Transcend 8GB Class 4, Custom 12V 1.5A (stepped down to 5.5V)

sim_tcr
Posts: 326
Joined: Tue Nov 06, 2012 1:01 pm
Location: Bangalore
Contact: Website

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sat Mar 22, 2014 3:55 pm

I got minidlna 1.1.2 installed.
I can access http://<ip>:8200/ and it shows the status.
However i am not able to locate minidlna conf file. Earlier it used to be at /etc/minidlna.conf
Can you help?
http://raspisimon.no-ip.org
Raspberry Pi Model B x 2, Raspberry Pi 2 x 2, Transcend 32GB Class 10, Transcend 16GB Class 10, Transcend 8GB Class 4, Custom 12V 1.5A (stepped down to 5.5V)

rbiks
Posts: 16
Joined: Sun Oct 07, 2012 2:47 pm
Location: central Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sat Mar 22, 2014 4:51 pm

sim_tcr wrote:I got minidlna 1.1.2 installed.
I can access http://<ip>:8200/ and it shows the status.
However i am not able to locate minidlna conf file. Earlier it used to be at /etc/minidlna.conf
Can you help?
There is a sample configuration file in the source code archive. Look in the same directory where you found "configure". You can copy it to /etc. Remember that you will need init-Scripts in order to get minidlna started on boot.

sim_tcr
Posts: 326
Joined: Tue Nov 06, 2012 1:01 pm
Location: Bangalore
Contact: Website

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sat Mar 22, 2014 5:23 pm

rbiks wrote:
sim_tcr wrote:I got minidlna 1.1.2 installed.
I can access http://<ip>:8200/ and it shows the status.
However i am not able to locate minidlna conf file. Earlier it used to be at /etc/minidlna.conf
Can you help?
There is a sample configuration file in the source code archive. Look in the same directory where you found "configure". You can copy it to /etc. Remember that you will need init-Scripts in order to get minidlna started on boot.

Code: Select all

sudo minidlnad -R -f /home/pi/minidlna-1.1.2/minidlna.conf
fixed it.
http://raspisimon.no-ip.org
Raspberry Pi Model B x 2, Raspberry Pi 2 x 2, Transcend 32GB Class 10, Transcend 16GB Class 10, Transcend 8GB Class 4, Custom 12V 1.5A (stepped down to 5.5V)

rbiks
Posts: 16
Joined: Sun Oct 07, 2012 2:47 pm
Location: central Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sat Mar 22, 2014 5:28 pm

sim_tcr wrote:

Code: Select all

sudo minidlnad -R -f /home/pi/minidlna-1.1.2/minidlna.conf
fixed it.
Of course this will also work. But I prefer to have configuration files outside the source tree.

eap
Posts: 1
Joined: Wed May 21, 2014 8:59 pm

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Wed May 21, 2014 9:11 pm

Hey guys, first of all thanks alot for gettin me this far. But im stuck and have no clue what to do. I followed the steps of tvjon and all went fine, compiling and installing.
But now what? i knew i needed to make my .conf file which i did got it from here: http://www.megaleecher.net/DLNA_Streami ... z32NFMvlvH
Next the init script file which i got from here:
http://www.naspberrypi.com/pogoplug.html

used

Code: Select all

sudo service minidlna start
minidlna appears in my services under rcconf but i have the feeling that its not working nothing showing up on my other systems
(it used to with the apt-get install method).

Im a total noob with the linux/debian stuff so please help me if you see any mistakes.

P.S. when i try to remove the init.d minidlna file i get

Code: Select all

insserv: There is a loop between service minidlna and noip if stopped
insserv:  loop involving service noip at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping noip depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
thanks in advance, and if i need to provide aditional info please mention so.

Eap

mihol
Posts: 23
Joined: Wed May 09, 2012 6:55 pm
Location: Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Fri May 30, 2014 8:27 pm

Hi,
also on my PI installing minidlna results in errors when installing further packages
similar to http://www.raspberrypi.org/forums/viewt ... 2&p=503419
and http://www.raspberrypi.org/forums/viewt ... 6&p=476956
difference in my case is the conflict with service 'bootup'.

My LINUX skills are too limited to fix it on my own unfortunately.

plugwash suspected an error in the minidlna initscript
I'm guessing there is something screwy in the dependencies in the minidlna initscript that triggers with certain combinations of other software but I don't know enough about init to figure out exactly what.
@plugwash, is the fix maybe in the minidlna 1.1.2 upgrade?

Thanks
Michael

rbiks
Posts: 16
Joined: Sun Oct 07, 2012 2:47 pm
Location: central Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Fri May 30, 2014 11:43 pm

Hi eap and Michael,

I had no problems installing minidlna and starting it via init script. Please post the content of the scripts (noip and bootup) that seem to be incompatible with minidlna's init script. chdir to /etc/init.d and issue the command grep Provides | grep noip or grep Provides | grep bootup to find them.

@eap: You wrote that you are not sure if minidlna is running. Do you see a minidlna process when you issue ps -ef | grep minidlna? Open a webbrowser and enter http://<ip of PI>:8200. Does it return a status page?

mihol
Posts: 23
Joined: Wed May 09, 2012 6:55 pm
Location: Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Tue Jun 03, 2014 8:41 pm

HI rbiks,

Thanks for your help.
My bootup file contains only the 2 lines below:
vncserver :1 -geometry 1280x1024 -depth 16 -pixelformat rgb565
sudo /opt/openhab/start_debug.sh &

I remember now that I created it some time ago based on a 'howto guide' for beginners but apparently it misses the 'Provides' keywords. Unfortunately I've no clue how to make 'bootup' compatible with other apps.
Any hint?

Regards
Michael

rbiks
Posts: 16
Joined: Sun Oct 07, 2012 2:47 pm
Location: central Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Wed Jun 04, 2014 2:07 pm

Hi Michael,
try prepending these lines to your bootup script:

Code: Select all

## BEGIN INIT INFO
# Provides:          bootup
# Required-Start:    $network
# Required-Stop::    $network
# Should-Start:
# Should-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: bootup start script
### END INIT INFO
Then, from inside /etc/init.d issue

Code: Select all

insserv bootup
Let's see if something changes...

rbiks

mihol
Posts: 23
Joined: Wed May 09, 2012 6:55 pm
Location: Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sun Jun 15, 2014 3:36 pm

Hi rbiks,

Thanks for your help and apologize for the delay caused by my vacation.

I added the lines as told and executed the command

root@pi:/etc/init.d# insserv bootup
insserv: warning: script 'bootup' missing LSB tags and overrides

Is this the expected result?

Thanks Michael

klricks
Posts: 6587
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Sun Jun 15, 2014 4:55 pm

mihol wrote:Hi rbiks,

Thanks for your help and apologize for the delay caused by my vacation.

I added the lines as told and executed the command

root@pi:/etc/init.d# insserv bootup
insserv: warning: script 'bootup' missing LSB tags and overrides

Is this the expected result?

Thanks Michael
You can ignore that warning, but if you want to get rid of it you need to make the script conform to establish standards.
In order to do that, the script must have all these functions: start, stop, restart, force-reload, and status, plus a few other error handling details...
see:
https://wiki.debian.org/LSBInitScripts
Note that this has no bearing on whether your script is working or doing what you intended...
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

rbiks
Posts: 16
Joined: Sun Oct 07, 2012 2:47 pm
Location: central Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Mon Jun 16, 2014 10:21 am

mihol wrote: Is this the expected result?
Thanks Michael
Hi Michael,
klricks is - technically - right. But the warning in this case comes from a missing "#" in

Code: Select all

### BEGIN INIT INFO
My fault. I forgot one in my post. If the warning was the only output from the insserv command and no errors were shown, everything should be OK. You can check it by looking for a link to ../init.d/bootup in /etc/rc2.d.
However: If you just want to start a script after boot and do not need the whole startup logic you could put your two lines in /etc/rc.local (http://wiki.ubuntuusers.de/rc.local)

mihol
Posts: 23
Joined: Wed May 09, 2012 6:55 pm
Location: Germany

Re: Minidlna 1.1.2 is released. apt-get installed 1.0.24

Mon Jun 16, 2014 7:26 pm

Hi rbiks,

adding the missing "#" made the insserv: warning disappear.

Appreciate the hint about using /etc/rc.local which seems the equivalent of MS-DOS autoexec.bat I'm familiar with :D
I'll explore this approach further.

Thanks
Michael

Return to “General discussion”