Mediatomb : Différence entre versions

De SME Server Wiki
(Page créée avec « basé sur : http://forums.contribs.org/index.php?topic=47032.0 yum install --enablerepo=dag,epel libupnp libdlna expat zlib spidermonkey taglib libexif curl libextractor f... »)
 
 
(2 révisions intermédiaires par le même utilisateur non affichées)
Ligne 43 : Ligne 43 :
  
 
to start it at startup  
 
to start it at startup  
  ln /etc/init.d/mediatomb
+
  ln -T /etc/init.d/mediatomb /etc/rc.d/rc7.d/S95mediatomb
 
   
 
   
 
and access to http://SERVERIP:50500/
 
and access to http://SERVERIP:50500/
 +
 +
 +
== multicast snooping ==
 +
 +
after updating from kernel 2.6.18-308.16.1 to kernel 2.6.18-398, It was impossible to discover the upnp service anymore from my devices. However server was still available for devices that had some shortcut to any of the media served.
 +
the simple fix :
 +
echo "0" > /sys/class/net/br0/bridge/multicast_snooping
 +
 +
I need to find a way to  implement this in the startup process ...
 +
 +
thank you to https://www.centos.org/forums/viewtopic.php?f=16&t=43910 for the hint !

Version actuelle en date du 5 avril 2017 à 19:39

basé sur : http://forums.contribs.org/index.php?topic=47032.0


yum install --enablerepo=dag,epel libupnp libdlna expat zlib spidermonkey taglib libexif curl libextractor ffmpeg mediatomb perl-File-LibMagic

installe chez moi  :

===============================================================================================================================================================================================
 Package                                              Arch                                   Version                                              Repository                              Size
===============================================================================================================================================================================================
Installing:
 js                                                   i386                                   1:1.7.0-1.el5.rf                                     dag                                    1.4 M
 libdlna                                              i386                                   0.2.3-3.el5.rf                                       dag                                    114 k
 libexif                                              i386                                   0.6.21-1.el5_8                                       base                                   664 k
 libextractor                                         i386                                   0.5.22-2.el5.rf                                      dag                                    8.3 M
 libupnp                                              i386                                   1.6.6-1.el5.rf                                       dag                                    297 k
 mediatomb                                            i386                                   0.12.1-1.el5.rf                                      dag                                    1.1 M
 perl-File-LibMagic                                   i386                                   0.96-1.el5                                           epel                                    21 k
 taglib                                               i386                                   1.6.1-1.el5.3                                        epel                                   258 k
Installing for dependencies:
 libmp4v2                                             i386                                   1.5.0.1-6.el5                                        epel                                   264 k
 libmpeg2                                             i386                                   0.5.1-2.el5.rf                                       dag                                    157 k  

Transaction Summary
===============================================================================================================================================================================================
Install      10 Package(s)
Upgrade       0 Package(s)

Total download size: 13 M


creation d'une bdd mediatomb et un user associé avec mot de passe vide

mysql
CREATE DATABASE mediatomb;
GRANT ALL ON mediatomb.* TO 'mediatomb'@'localhost';
exit
vim /etc/sysconfig/mediatomb

change interface to you local network interface, for me br0

then

/etc/init.d/mediatomb start

to start it at startup

ln -T /etc/init.d/mediatomb /etc/rc.d/rc7.d/S95mediatomb

and access to http://SERVERIP:50500/


multicast snooping

after updating from kernel 2.6.18-308.16.1 to kernel 2.6.18-398, It was impossible to discover the upnp service anymore from my devices. However server was still available for devices that had some shortcut to any of the media served.

the simple fix :
echo "0" > /sys/class/net/br0/bridge/multicast_snooping

I need to find a way to implement this in the startup process ...

thank you to https://www.centos.org/forums/viewtopic.php?f=16&t=43910 for the hint !