vendredi 12 septembre 2025, 08:24 UTC+2
Vous n’êtes pas connecté.
Bonjour, visiteur, bienvenue sur les forums NAS Forum. Si c’est votre première visite, nous vous invitons à consulter l’Aide. Elle vous expliquera le fonctionnement de cette page. Pour avoir accès à toutes les fonctionnalités, vous devez vous inscrire. Pour cela, veuillez utiliser le formulaire d’enregistrement, ou bien lisez plus d’informations sur la procédure d’enregistrement. Si vous êtes déjà enregistré, veuillez vous connecter.
![]() |
Code source |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
/mnt/IDE1/public/applications/mediatomb$ ./mediatomb.sh MediaTomb UPnP Server version 0.11.0 - http://mediatomb.cc/ =============================================================================== Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer. MediaTomb is free software, covered by the GNU General Public License version 2 2008-09-28 23:26:57 INFO: Loading configuration from: /mnt/IDE1/public/applications/mediatomb/config/config.xml 2008-09-28 23:26:57 INFO: Checking configuration... 2008-09-28 23:26:57 INFO: Setting filesystem import charset to ASCII 2008-09-28 23:26:57 INFO: Setting metadata import charset to ASCII 2008-09-28 23:26:57 INFO: Setting playlist charset to ASCII 2008-09-28 23:26:57 INFO: Configuration check succeeded. 2008-09-28 23:26:57 ERROR: main: upnp error -117 2008-09-28 23:26:57 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed |
![]() |
Code source |
1 2 |
2008-09-28 23:26:57 ERROR: main: upnp error -117 2008-09-28 23:26:57 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed |
![]() |
Code source |
1 2 |
2008-09-29 21:45:14 ERROR: main: upnp error -205 2008-09-29 21:45:14 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed |
![]() |
Code source |
1 2 |
2008-09-29 21:42:20 ERROR: Could not create local socket 2008-09-29 21:42:20 ERROR: Could not find interface: eth0 |
Ce message a été modifié 1 fois. Dernière modification effectuée par "jimpoison" (29 septembre 2008, 23:48)
![]() |
Code source |
1 |
2008-09-30 15:46:28 ERROR: Error in config file: you can not specify interface and ip at the same time! |
![]() |
Code source |
1 2 3 4 |
route add -net 239.0.0.0 netmask 255.0.0.0 eth0 ifconfig eth0 allmulti |
Citation
INFO: Loading configuration from: /mnt/IDE1/public/applications/twonkymedia/config/config.xml
2009-01-08 09:06:14 INFO: Checking configuration...
2009-01-08 09:06:15 INFO: Setting filesystem import charset to ISO-8859-1
2009-01-08 09:06:15 INFO: Setting metadata import charset to ISO-8859-1
2009-01-08 09:06:15 INFO: Setting playlist charset to ASCII
2009-01-08 09:06:15 INFO: Configuration check succeeded.
2009-01-08 09:06:15 ERROR: main: upnp error -117
2009-01-08 09:06:15 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed
Citation
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
ifconfig eth0 allmulti
![]() |
Code source |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/bin/sh # if you want to launch this script from a different directory (for example # from an another init script or similar, set the LAUNCHDIR variable below # to the absolute path of the mediatomb.sh script # HD Mountpoint LAUNCHDIR=/mnt/IDE1/public/applications/twonkymedia LOGFILEDIR=$LAUNCHDIR/log export MEDIATOMB_DATADIR="$LAUNCHDIR/usr/share/mediatomb" export MEDIATOMB_MAGIC_FILE="usr/share/file/magic" route add -net 239.0.0.0 netmask 255.0.0.0 eth0 ifconfig eth0 allmulti $LAUNCHDIR/usr/bin/mediatomb -m $LAUNCHDIR -f config -l $LOGFILEDIR/logfile.txt -d |
![]() |
Code source |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd"> <server> <port>0</port> <ui enabled="yes"> <accounts enabled="no" session-timeout="30"> <account user="mediatomb" password="mediatomb"></account> </accounts> </ui> <name>MediaTomb</name> <udn>uuid:79209eaf-d849-4de0-92f6-c96a258f94fc</udn> <home>/mnt/IDE1/public/applications/twonkymedia/config</home> <webroot>/mnt/IDE1/public/applications/twonkymedia/usr/share/mediatomb/web</webroot> <storage> <sqlite3 enabled="yes"> <database-file>mediatomb.db</database-file> </sqlite3> </storage> <protocolInfo extend="yes"></protocolInfo> </server> <import hidden-files="no"> <filesystem-charset>ISO-8859-1</filesystem-charset> <metadata-charset>ISO-8859-1</metadata-charset> <magic-file>usr/share/file/magic</magic-file> <scripting script-charset="UTF-8"> <common-script>/mnt/IDE1/public/applications/twonkymedia/usr/share/mediatomb/js/common.js</common-script> <playlist-script>/mnt/IDE1/public/applications/twonkymedia/usr/share/mediatomb/js/playlists.js</playlist-script> <virtual-layout type="builtin"> <import-script>/mnt/IDE1/public/applications/twonkymedia/usr/share/mediatomb/js/import.js</import-script> </virtual-layout> </scripting> <mappings> <extension-mimetype ignore-unknown="no"> <map from="mp3" to="audio/mpeg"></map> <map from="ogg" to="application/ogg"></map> <map from="asf" to="video/x-ms-asf"></map> <map from="asx" to="video/x-ms-asf"></map> <map from="wma" to="audio/x-ms-wma"></map> <map from="wax" to="audio/x-ms-wax"></map> <map from="wmv" to="video/x-ms-wmv"></map> <map from="wvx" to="video/x-ms-wvx"></map> <map from="wm" to="video/x-ms-wm"></map> <map from="wmx" to="video/x-ms-wmx"></map> <map from="m3u" to="audio/x-mpegurl"></map> <map from="pls" to="audio/x-scpls"></map> <map from="flv" to="video/x-flv"></map> <map from="avi" to="video/divx"></map> </extension-mimetype> <mimetype-upnpclass> <map from="audio/*" to="object.item.audioItem.musicTrack"></map> <map from="video/*" to="object.item.videoItem"></map> <map from="image/*" to="object.item.imageItem"></map> </mimetype-upnpclass> <mimetype-contenttype> <treat mimetype="audio/mpeg" as="mp3"></treat> <treat mimetype="application/ogg" as="ogg"></treat> <treat mimetype="audio/x-flac" as="flac"></treat> <treat mimetype="image/jpeg" as="jpg"></treat> <treat mimetype="audio/x-mpegurl" as="playlist"></treat> <treat mimetype="audio/x-scpls" as="playlist"></treat> <treat mimetype="audio/x-wav" as="pcm"></treat> <treat mimetype="audio/L16" as="pcm"></treat> <treat mimetype="video/x-msvideo" as="avi"></treat> </mimetype-contenttype> </mappings> </import> <transcoding enabled="no"> <mimetype-profile-mappings> <transcode mimetype="video/x-flv" using="vlcmpeg"></transcode> <transcode mimetype="application/ogg" using="vlcmpeg"></transcode> <transcode mimetype="application/ogg" using="oggflac2raw"></transcode> <transcode mimetype="audio/x-flac" using="oggflac2raw"></transcode> </mimetype-profile-mappings> <profiles> <profile name="oggflac2raw" enabled="no" type="external"> <mimetype>audio/L16</mimetype> <accept-url>no</accept-url> <first-resource>yes</first-resource> <accept-ogg-theora>no</accept-ogg-theora> <agent command="ogg123" arguments="-d raw -f %out %in"></agent> <buffer size="1048576" chunk-size="131072" fill-size="262144"></buffer> </profile> <profile name="vlcmpeg" enabled="no" type="external"> <mimetype>video/mpeg</mimetype> <accept-url>yes</accept-url> <first-resource>yes</first-resource> <accept-ogg-theora>yes</accept-ogg-theora> <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"></agent> <buffer size="14400000" chunk-size="512000" fill-size="120000"></buffer> </profile> </profiles> </transcoding> </config> |
Der account passt?
Citation
<storage>
<sqlite3 enabled="yes">
<database-file>mediatomb.db</database-file>
</sqlite3>
</storage>
Ce message a été modifié 1 fois. Dernière modification effectuée par "sam" (8 janvier 2009, 11:28)