Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*HOWTO* Convert MKV files to PS3 Playable Files
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Tue Sep 23, 2008 12:51 pm    Post subject: Reply with quote

Sound like you need to

emerge media-video/mkvtoolnix

for your first problem.

Check the logs and see what mediatomb is complaining of.
Back to top
View user's profile Send private message
Scu
n00b
n00b


Joined: 13 Jul 2005
Posts: 23

PostPosted: Tue Sep 23, 2008 4:12 pm    Post subject: Reply with quote

Kind a new with this database stuff. Any ideas?

Quote:
# /etc/init.d/mediatomb start
* Starting MediaTomb ...
2008-09-23 13:03:47 DEBUG: [../src/main.cc:184] main(): Starting in deamon mode...2008-09-23 13:03:47 DEBUG: [../src/main.cc:204] main(): Pid file: /var/run/mediatomb/mediatomb.pid
2008-09-23 13:03:47 DEBUG: [../src/main.cc:189] main(): Running as user: mediatomb
2008-09-23 13:03:47 DEBUG: [../src/main.cc:194] main(): Running as group: mediatomb
2008-09-23 13:03:47 DEBUG: [../src/main.cc:209] main(): Log file: /var/log/mediatomb.log [ !! ]


/var/log/mediatomb.log:

2008-09-23 12:00:37 DEBUG: [../src/main.cc:179] main(): Option config with param /etc/mediatomb/config.xml
2008-09-23 12:00:37 DEBUG: [../src/main.cc:162] main(): Option port with param 49152
2008-09-23 12:00:37 DEBUG: [../src/main.cc:175] main(): port set to: 49152
2008-09-23 12:00:37 DEBUG: [../src/main.cc:157] main(): Option interface with param eth0
2008-09-23 12:00:37 INFO: Loading configuration from: /etc/mediatomb/config.xml
2008-09-23 12:00:37 INFO: UUID generated: 6829163e-b969-4404-bed4-1cc9936dd578
2008-09-23 12:00:37 DEBUG: [../src/config_manager.cc:1793] getOption(): Config: option not found: /server/udn using default value: uuid:6829163e-b969-4404$
2008-09-23 12:00:37 INFO: Checking configuration...
2008-09-23 12:00:37 DEBUG: [../src/config_manager.cc:1793] getOption(): Config: option not found: /server/tmpdir using default value: /tmp/
2008-09-23 12:00:37 DEBUG: [../src/config_manager.cc:1793] getOption(): Config: option not found: /server/servedir using default value:
2008-09-23 12:00:37 ERROR: You disabled both, sqlite3 and mysql but one database driver must be active!

/etc/mediatomb/config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/confi$
<server>
<ui enabled="yes">
<accounts enabled="no" session-timeout="30">
<account user="mediatomb" password="mediatomb"/>
</accounts>
</ui>
<name>MediaTomb</name>
<udn>uuid:6829163e-b969-4404-bed4-1cc9936dd578</udn>
<home>/var/lib/mediatomb</home>
<webroot>/usr/share/mediatomb/web</webroot>
<storage>
<sqlite3 enabled="yes">
<database-file>mediatomb.db</database-file>
</sqlite3>
<mysql enabled="no">
<host>localhost</host>
<database>mediatomb</database>
<username>mediatomb</username>
<password>mediatomb</password>
</mysql>
</storage>
<protocolInfo extend="no"/>
</server>
<import hidden-files="no">
<scripting script-charset="UTF-8">
<common-script>/usr/share/mediatomb/js/common.js</common-script>
<playlist-script>/usr/share/mediatomb/js/playlists.js</playlist-script>
<virtual-layout type="builtin">
<import-script>/usr/share/mediatomb/js/import.js</import-script>
</virtual-layout>
</scripting>
<mappings>
<extension-mimetype ignore-unknown="no">
<map from="mp3" to="audio/mpeg"/>
<map from="ogg" to="application/ogg"/>
<map from="asf" to="video/x-ms-asf"/>
<map from="asx" to="video/x-ms-asf"/>
<map from="wma" to="audio/x-ms-wma"/>
<map from="wax" to="audio/x-ms-wax"/>
<map from="wmv" to="video/x-ms-wmv"/>
<map from="wvx" to="video/x-ms-wvx"/>
<map from="wm" to="video/x-ms-wm"/>
<map from="wmx" to="video/x-ms-wmx"/>
<map from="m3u" to="audio/x-mpegurl"/>
<map from="pls" to="audio/x-scpls"/>
<map from="flv" to="video/x-flv"/>
</extension-mimetype>
<mimetype-upnpclass>
<map from="audio/*" to="object.item.audioItem.musicTrack"/>
<map from="video/*" to="object.item.videoItem"/>
<map from="image/*" to="object.item.imageItem"/>
</mimetype-upnpclass>
<mimetype-contenttype>
<treat mimetype="audio/mpeg" as="mp3"/>
<treat mimetype="application/ogg" as="ogg"/>
<treat mimetype="audio/x-flac" as="flac"/>
<treat mimetype="image/jpeg" as="jpg"/>
<treat mimetype="audio/x-mpegurl" as="playlist"/>
<treat mimetype="audio/x-scpls" as="playlist"/>
<treat mimetype="audio/x-wav" as="pcm"/>
<treat mimetype="audio/L16" as="pcm"/>
<treat mimetype="video/x-msvideo" as="avi"/>
</mimetype-contenttype>
</mappings>
</import>
</config>
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Tue Sep 23, 2008 4:21 pm    Post subject: Reply with quote

Should probably post your mediatomb woes in one of the other parts of the forum. However...

Run

emerge -pv mediatomb

It is complaining that you have no support for MySQL when you built it.
Back to top
View user's profile Send private message
s34get
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2003
Posts: 76
Location: WWW

PostPosted: Sun Oct 19, 2008 11:45 am    Post subject: Reply with quote

please provide the script as a download. Copy & paste leads me to errors regarding special characters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum