New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG (1 Viewer)

mbuzina

Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    UNC paths are absolute (and yes they work, I have redirected a picture folder to central storage on all my PCs). But your path is not UNC...
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Tobias, welcome to the forum. I have Clickfinder Free and DVB-T for the rest along with episodescanner. Please be aware that it "only" grabs episode data for scheduled recordings.

    It works more often than not, some still fail (e.g. Sendung mit der Maus).
     

    Tobster77

    Portal Member
    October 30, 2013
    31
    7
    46
    Home Country
    Germany Germany
    Dear all,

    I just tested Episodescanner for the 4 or 5 series I'm recording using MP.

    But Episodescanner currently only checks on the data servers for one of them ("CSI:NY") and ignores the others (e.g. "Verrückt nach Meer"). Is there any obvious reasion why it ignores the other series, or can this only be answered providing a log file (which I can only provide tonight?)

    Edit: I just appended the config and log files... As you can see, only one series ("CSI:NY") is found while the others are completely ignored...

    Thanks,
    Tobias
     

    Attachments

    • config.txt
      4.3 KB
    Last edited:

    Brudertac

    MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    Hi @Tobster77

    i use Clickfinder. Since a year or so... It was hard to get free EPG Sources running fine. Yes, you will not get Episode Informations with Clickfinder. (If anyone knows a good German EPG Source with it please let us know!) Episodescanner can help but you will not get 100% with it.
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    I think that is the way I am using it. Will check as soon as I am back home (this evening). Otherwise as a workaround: create a link to the directory without spaces in its name
    Any chance to have a look? I steh backup working for you?
     

    ixdvc

    Portal Pro
    May 26, 2009
    227
    39
    Home Country
    Germany Germany
    For me episodescanner still does not work. It just does not find any series. But there are definitely some scheduled recordings (set to weekly at this time).

    The output from run_debug.bat is also not very helpful:
    [Sun Nov 3 17:51:02 2013] ----------------------------------------------------------------------------------------
    [Sun Nov 3 17:51:02 2013] use global TVDB API Key
    [Sun Nov 3 17:51:02 2013] got Win32 Codepage:
    [Sun Nov 3 17:51:02 2013] got resolved alias:
    [Sun Nov 3 17:51:02 2013] using MySQL
    [Sun Nov 3 17:51:03 2013] TVDB Backend successfully initialized.
    [Sun Nov 3 17:51:03 2013] START seriessearch
    [Sun Nov 3 17:51:03 2013] END seriessearch
    [Sun Nov 3 17:51:03 2013] END
    Does episodescanner search for schedules or for already recorded episodes? Then maybe this could be the problem, because normally I just use "normal" recordings without repetition.
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    OK, am not sure about the issues here, but my config file (which works for me):
    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 = 'htpc';
    $dbname = 'MpTvDb';
    # for mysql root | for mssql sa
    $dbuser = 'root';
    # standard password when mediaportal has installed the Database Engine is MediaPortal
    $dbpw = 'MediaPortal';
     
    # 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 = '';
    # you can also use multiple languages by splitting the iso codes with a |
    $thetvdb_language = 'de|en';
     
    # 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 = 0; # on / off
    $cleanup_recordings_tvseries_db = 'O:\\DB\\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 = 1; # on / off
     
    # delete empty folders and deletes .xml, .txt, .logo, .jpg files (if the .ts file is removed) in recordingdir
    $cleanup_recordingfiles = 1;
    # video file extensions
    @cleanup_recordingdir_ext = ('.ts', '.avi', '.mkv');
    # folder where the recordings are stored
    $cleanup_recordingdir = 'D:\\Videos\\Aufnahmen';
     
    # 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;
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    I need to stand corrected about my satisfaction - I just started looking a bit deeper again into my series results and they all fail for different reasons. Sendung mit der Maus just does not find anything, Wissen Mach Ah is a little different in Episode name, fuzzy does not succeed and the walking dead is not even searched, even though it is scheduled (it is recording an episode right now).

    Log attached.
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    I need to stand corrected about my satisfaction - I just started looking a bit deeper again into my series results and they all fail for different reasons. Sendung mit der Maus just does not find anything, Wissen Mach Ah is a little different in Episode name, fuzzy does not succeed and the walking dead is not even searched, even though it is scheduled (it is recording an episode right now).

    Log attached.

    Hm - I don't think the SQL Lite Backup is working for you - you are using the original settings - which lead to a path nobody has (I think). Or do you have another Config file in use?

    $db_backup_sqlite_path = 'O:\\DB\\*.db3';
    $db_backup_sqlite_backuppath = 'O:\\DB\\backup';
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    The sql_lite backup should also be disabled, so I did not change the paths ;-)

    I backup using a different tool, backs up more than just the dbs
     

    Users who are viewing this thread

    Top Bottom