Tuesday, October 28th 2025, 6:43pm UTC+1
Giriş yapmadınız.
|
|
Kaynak kod |
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 |
- stimmt, das NAS2000 ist sehr ähnlich. Zumindest was die Firmware betrifft.|
|
Kaynak kod |
1 2 |
2008-09-28 23:26:57 ERROR: main: upnp error -117 2008-09-28 23:26:57 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed |
|
|
Kaynak kod |
1 2 |
2008-09-29 21:45:14 ERROR: main: upnp error -205 2008-09-29 21:45:14 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed |
|
|
Kaynak kod |
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 |
Bu mesaj 1 defa düzenlendi; son düzenleyen "jimpoison" (Sep 29th 2008, 11:48pm)
|
|
Kaynak kod |
1 |
2008-09-30 15:46:28 ERROR: Error in config file: you can not specify interface and ip at the same time! |
|
|
Kaynak kod |
1 2 3 4 |
route add -net 239.0.0.0 netmask 255.0.0.0 eth0 ifconfig eth0 allmulti |
Alıntı
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
Alıntı
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
ifconfig eth0 allmulti
|
|
Kaynak kod |
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 |
|
|
Kaynak kod |
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?
Alıntı
<storage>
<sqlite3 enabled="yes">
<database-file>mediatomb.db</database-file>
</sqlite3>
</storage>
Bu mesaj 1 defa düzenlendi; son düzenleyen "sam" (Jan 8th 2009, 11:28am)