home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Plugins & Erweiterungen
Neues Tool: Episodescanner (fügt Seasonnr. und Episodennr. zur Datenbank hinzu)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="zero111181" data-source="post: 1125559" data-attributes="member: 82937"><p>Ich stehe echt auf dem Schlauch bei mir passiert garnichts</p><p></p><p>Meine Konfig:</p><p></p><p>[code]# rename me to config.txt</p><p></p><p># 0 is MSSQL | 1 is mysql</p><p>$usemysql = 1;</p><p></p><p># optimize mysql tables every X hours (0 for disabling)</p><p>$optimizemysqltables = 2;</p><p></p><p># DB Settings</p><p># for MySQL simply insert the hostname / IP</p><p>$dbhost = 'localhost';</p><p>$dbname = 'MpTvDb';</p><p># for mysql root | for mssql sa</p><p>$dbuser = 'root';</p><p># standard password when mediaportal has installed the Database Engine is MediaPortal</p><p>$dbpw = 'xxxxxxxxxxx';</p><p></p><p># 4tr (4therecord)</p><p>$use4tr = 0; # on/off</p><p># we use the database data from above</p><p>$dbname_4tr = 'fortherecord';</p><p></p><p># activate search on wunschliste.de / only GERMAN</p><p>$use_wunschliste = 1;</p><p></p><p># activate search on fernsehserien / only GERMAN</p><p>$use_fernsehserien = 1;</p><p></p><p># activate search on thetvdb.com</p><p>$use_tvdb = 1;</p><p># TVDB (www.thetvdb.com) API Key - NOT Account Identifier</p><p># you can create your own API key in your account on www.thetvdb.com</p><p># if you leave this field blank it would use a global API key</p><p># so this is optional</p><p>$tvdb_apikey = 'xxxxxxxxxxxxxx';</p><p># you can also use multiple languages by splitting the iso codes with a |</p><p>$thetvdb_language = 'de';</p><p></p><p># episodename substitutions</p><p># here you can define substitiutions for your episodenames</p><p># f.e. "1" to "one"</p><p># f.e. "part1" to "one"</p><p># this avoids problems with different namings</p><p># you can use regex on the left side here if you want</p><p>%episode_stubstitutions = (</p><p> 'Teil\s+\(1\)' => '(1)',</p><p> 'Teil\s+\(2\)' => '(2)',</p><p> 'Teil\s+\(3\)' => '(3)',</p><p> 'Teil\s+\(4\)' => '(4)',</p><p> 'Teil\s+1' => '(1)',</p><p> 'Teil\s+2' => '(2)',</p><p> 'Teil\s+3' => '(3)',</p><p> 'Teil\s+4' => '(4)',</p><p> ' & ' => ' und ',</p><p> ' and ' => ' und ',</p><p>);</p><p></p><p># SQLite database backup every X hours (NOT MSSQL or MySQL)</p><p>$db_backup = 0; # on/off</p><p>$db_backup_interval = 2; # in hours</p><p>$db_backup_delete = 48; # delete backups older than</p><p>$db_backup_sqlite_path = 'O:\\DB\\*.db3';</p><p>$db_backup_sqlite_backuppath = 'O:\\DB\\backup';</p><p></p><p># remove recordings which are also listed at tvseries</p><p>$cleanup_recordings_tvseries = 1; # on / off</p><p>$cleanup_recordings_tvseries_db = 'C:\\ProgramData\\Team MediaPortal\\MediaPortal\\database\\TVSeriesDatabase4.db3';</p><p>$cleanup_recordings_tvseries_db_mainpath = '\\\\192.168.178.100\\mp.data\\VID\\';</p><p>$cleanup_recordings_tvseries_recordings_mainpath = 'O:\\VID\\';</p><p></p><p># delete recordings from the recordings DB of MP when the file does not exist</p><p>$cleanup_recordingdb = 0; # on / off</p><p></p><p># delete empty folders and deletes .xml, .txt, .logo, .jpg files (if the .ts file is removed) in recordingdir</p><p>$cleanup_recordingfiles = 0;</p><p># video file extensions</p><p>@cleanup_recordingdir_ext = ('.ts', '.avi', '.mkv');</p><p># folder where the recordings are stored</p><p>$cleanup_recordingdir = 'O:\\VID';</p><p></p><p># use thumb generation?</p><p>$thumbs = 0;</p><p># create thumbs for the following folders and subfolders</p><p>@thumb_dirs = ('O:\\VID', 'D:\\VID123\\ABC');</p><p># try to crrate thumb for tiles with the following file extensions</p><p>@thumb_fileext = ('.ts', '.avi', '.mkv');</p><p># use the following programs to create thumbs</p><p>@thumb_progs = ( {</p><p> # internal MTN</p><p> prog => 'mtn\\mtn.exe -D 6 -B 420 -E 600 -c 1 -r 1 -s 300 -t -i -w 0 -n -P "${filename}"',</p><p> thumb_filename => '${basedir}\\${basefile}_s.jpg',</p><p> timeout => 10,</p><p> },</p><p> {</p><p> # external videoLAN</p><p> prog => '"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --video-filter scene -V dummy --intf dummy --dummy-quiet --scene-width=-1 --scene-height=576 --scene-format=jpg --scene-replace --scene-ratio 24 --start-time=600 --stop-time=601 --scene-replace --scene-prefix=thumb --scene-path="O:\\" "${filename}" "vlc://quit"',</p><p> thumb_filename => 'O:\\thumb.jpg',</p><p> timeout => 3,</p><p> },</p><p> {</p><p> # internal MTN variant 2</p><p> prog => 'mtn2\\mtn.exe -D 8 -B 0 -E 0 -c 1 -r 1 -s 60 -t -i -w 0 -n -P "${filename}"',</p><p> thumb_filename => '${basedir}\\${basefile}_s.jpg',</p><p> timeout => 10,</p><p> }</p><p> );</p><p></p><p># you can setup here the running of external commands every X hours</p><p># example:</p><p># run C:\path\tool every 5 hours and C:\path2\tool2 every 10 hours</p><p># @run_external_commans = ('C:\\path\\tool|5', 'C:\\path2\\tool2|10');</p><p>@run_external_commans = ();</p><p></p><p># after each run sleep for x seconds</p><p>$sleep = 60;</p><p></p><p>1;[/code]</p><p></p><p>Ausspucken tut mir die Log folgendes :</p><p></p><p>[Tue Feb 17 00:03:03 2015] ----------------------------------------------------------------------------------------</p><p>[Tue Feb 17 00:03:03 2015] using custom API Key</p><p>[Tue Feb 17 00:03:03 2015] using MySQL</p><p>[Tue Feb 17 00:03:04 2015] START seriessearch</p><p>[Tue Feb 17 00:03:04 2015] END seriessearch</p><p></p><p></p><p>[Tue Feb 17 00:03:04 2015] Cleanup tvseriescleanup</p><p></p><p>[Tue Feb 17 00:03:04 2015] END</p><p></p><p></p><p>Ich bekomme es einfach nicht hin, programiert sind zwei Serien die permanent mit Mediaportal aufgenommen werden.</p></blockquote><p></p>
[QUOTE="zero111181, post: 1125559, member: 82937"] Ich stehe echt auf dem Schlauch bei mir passiert garnichts Meine Konfig: [code]# rename me to config.txt # 0 is MSSQL | 1 is mysql $usemysql = 1; # optimize mysql tables every X hours (0 for disabling) $optimizemysqltables = 2; # DB Settings # for MySQL simply insert the hostname / IP $dbhost = 'localhost'; $dbname = 'MpTvDb'; # for mysql root | for mssql sa $dbuser = 'root'; # standard password when mediaportal has installed the Database Engine is MediaPortal $dbpw = 'xxxxxxxxxxx'; # 4tr (4therecord) $use4tr = 0; # on/off # we use the database data from above $dbname_4tr = 'fortherecord'; # activate search on wunschliste.de / only GERMAN $use_wunschliste = 1; # activate search on fernsehserien / only GERMAN $use_fernsehserien = 1; # activate search on thetvdb.com $use_tvdb = 1; # TVDB (www.thetvdb.com) API Key - NOT Account Identifier # you can create your own API key in your account on www.thetvdb.com # if you leave this field blank it would use a global API key # so this is optional $tvdb_apikey = 'xxxxxxxxxxxxxx'; # you can also use multiple languages by splitting the iso codes with a | $thetvdb_language = 'de'; # episodename substitutions # here you can define substitiutions for your episodenames # f.e. "1" to "one" # f.e. "part1" to "one" # this avoids problems with different namings # you can use regex on the left side here if you want %episode_stubstitutions = ( 'Teil\s+\(1\)' => '(1)', 'Teil\s+\(2\)' => '(2)', 'Teil\s+\(3\)' => '(3)', 'Teil\s+\(4\)' => '(4)', 'Teil\s+1' => '(1)', 'Teil\s+2' => '(2)', 'Teil\s+3' => '(3)', 'Teil\s+4' => '(4)', ' & ' => ' und ', ' and ' => ' und ', ); # SQLite database backup every X hours (NOT MSSQL or MySQL) $db_backup = 0; # on/off $db_backup_interval = 2; # in hours $db_backup_delete = 48; # delete backups older than $db_backup_sqlite_path = 'O:\\DB\\*.db3'; $db_backup_sqlite_backuppath = 'O:\\DB\\backup'; # remove recordings which are also listed at tvseries $cleanup_recordings_tvseries = 1; # on / off $cleanup_recordings_tvseries_db = 'C:\\ProgramData\\Team MediaPortal\\MediaPortal\\database\\TVSeriesDatabase4.db3'; $cleanup_recordings_tvseries_db_mainpath = '\\\\192.168.178.100\\mp.data\\VID\\'; $cleanup_recordings_tvseries_recordings_mainpath = 'O:\\VID\\'; # delete recordings from the recordings DB of MP when the file does not exist $cleanup_recordingdb = 0; # on / off # delete empty folders and deletes .xml, .txt, .logo, .jpg files (if the .ts file is removed) in recordingdir $cleanup_recordingfiles = 0; # video file extensions @cleanup_recordingdir_ext = ('.ts', '.avi', '.mkv'); # folder where the recordings are stored $cleanup_recordingdir = 'O:\\VID'; # use thumb generation? $thumbs = 0; # create thumbs for the following folders and subfolders @thumb_dirs = ('O:\\VID', 'D:\\VID123\\ABC'); # try to crrate thumb for tiles with the following file extensions @thumb_fileext = ('.ts', '.avi', '.mkv'); # use the following programs to create thumbs @thumb_progs = ( { # internal MTN prog => 'mtn\\mtn.exe -D 6 -B 420 -E 600 -c 1 -r 1 -s 300 -t -i -w 0 -n -P "${filename}"', thumb_filename => '${basedir}\\${basefile}_s.jpg', timeout => 10, }, { # external videoLAN prog => '"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --video-filter scene -V dummy --intf dummy --dummy-quiet --scene-width=-1 --scene-height=576 --scene-format=jpg --scene-replace --scene-ratio 24 --start-time=600 --stop-time=601 --scene-replace --scene-prefix=thumb --scene-path="O:\\" "${filename}" "vlc://quit"', thumb_filename => 'O:\\thumb.jpg', timeout => 3, }, { # internal MTN variant 2 prog => 'mtn2\\mtn.exe -D 8 -B 0 -E 0 -c 1 -r 1 -s 60 -t -i -w 0 -n -P "${filename}"', thumb_filename => '${basedir}\\${basefile}_s.jpg', timeout => 10, } ); # you can setup here the running of external commands every X hours # example: # run C:\path\tool every 5 hours and C:\path2\tool2 every 10 hours # @run_external_commans = ('C:\\path\\tool|5', 'C:\\path2\\tool2|10'); @run_external_commans = (); # after each run sleep for x seconds $sleep = 60; 1;[/code] Ausspucken tut mir die Log folgendes : [Tue Feb 17 00:03:03 2015] ---------------------------------------------------------------------------------------- [Tue Feb 17 00:03:03 2015] using custom API Key [Tue Feb 17 00:03:03 2015] using MySQL [Tue Feb 17 00:03:04 2015] START seriessearch [Tue Feb 17 00:03:04 2015] END seriessearch [Tue Feb 17 00:03:04 2015] Cleanup tvseriescleanup [Tue Feb 17 00:03:04 2015] END Ich bekomme es einfach nicht hin, programiert sind zwei Serien die permanent mit Mediaportal aufgenommen werden. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Plugins & Erweiterungen
Neues Tool: Episodescanner (fügt Seasonnr. und Episodennr. zur Datenbank hinzu)
Contact us
RSS
Top
Bottom