When Import show new (repalced) filename (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,809
    13,148
    Kyiv
    Home Country
    Ukraine Ukraine
    When Import show new (repalced) filename, The rule which has worked on this file visible, and that's what happened after the replacement is not.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,809
    13,148
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #3
    @ltfearme
    As Example:
    upload_2015-11-25_12-7-40.png upload_2015-11-25_12-9-34.png
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @ajs, no idea what you are trying to say.

    Reason "12.Monkeys.S01E01.whatever.avi" is accepted is because it matches the primary filter that looks for "show name" + Sxx + Exx + "whatever" + "extension"

    The other fails, because it does not match anything. You would have to look for a shared expression from the main sticky thread that will accept "show name" \ "something" \ "episode number" + "whatever", but you might still have a hard time then, due to lack of season info, or at least a date based entry on release. Simply manually consult the TheTVdB page for that show, examine the SxxExx required, and manually rename accordingly. So if you have a show called "ajs", and it is Season 1, Episode 5, then all you need is "ajs.s1e5.avi" and it will work, anything else is ignored or not fully used.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,809
    13,148
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #5
    no idea what you are trying to say.
    There is a file with the name. There are replacement rules. Those. we take a filename, it applies to the rules and get a different file name. Which then try to determine the rules to get the name of the series, etc. I want to see the file name, after being subjected to the rules of replacement.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,809
    13,148
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #6
    @RoChess @ltfearme
    Recognition comes in steps:
    1. find a file;
    2. took his name;
    3. changed the name in accordance with the rules of replacement;
    4. the new name is checked against a list of recognition.
    I want to see a name that happened after step 3. I tried to explain as clearly as possible. :whistle:
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Ok, now I understand.

    You want the import wizard to show not just the original title, but also the "title after it has been modified with before-import string-replacements"

    All that info should be available inside the mp-tvseries.log file with debug mode enabled, which is probably where you should be looking at when you are dealing with complex import issues, but might be an easy fix to add this to the import GUI wizard.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,809
    13,148
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #8
    All that info should be available inside the mp-tvseries.log file with debug mode enabled
    I did not find, but once in the configuration information output, why not expand. And it is very difficult to understand how a rule is triggered when it is written in the configuration rule 151 worked very hard to find it.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @ajs, on short term, if you give me a screenshot of your string replacement settings, then I might be able to figure it out. It would help though if you can provide the textual versions of the string replacement entry you think should have been used, because the Russian language makes it hard to read from the screenshot.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,809
    13,148
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #10
    if you give me a screenshot of your string replacement settings
    upload_2015-11-28_22-34-40.png upload_2015-11-28_22-34-53.png
    Code:
    ID    enabled    tagEnabled    before    toreplace    with    isRegex
    0    1    0    0    .    <space>    0
    1    1    0    0    _    <space>    0
    2    1    0    0    -<space>    <empty>    0
    3    1    1    1    720p    <empty>    0
    4    1    1    1    1080i    <empty>    0
    5    1    1    1    1080p    <empty>    0
    6    1    1    1    x264    <empty>    0
    7    1    1    0    DSR    <empty>    0
    8    1    1    0    HR-HDTV    <empty>    0
    9    1    1    0    HR.HDTV    <empty>    0
    10    1    1    0    HDTV    <empty>    0
    11    1    1    0    DVDMux    <empty>    0
    12    1    0    1    rgfootball    <empty>    0
    13    1    0    1    (?<=(\s?\.?P[ar]*t\s?)) (X)?(IX|IV|V?I{0,3})    <RomanToArabic>    1
    14    1    0    1    (?<!(?:S\d+.?E\\d+\-E\d+.*|S\d+.?E\d+.*|\s\d+x\d+.*))P[ar]*t\s?(\d+)(\s?of\s\d{1,2})?     S01E${1}     1
    15    1    0    1    (?<!(?:S\d+.?E\\d+\-E\d+.*|S\d+.?E\d+.*|\s\d+x\d+\s.*))(\d{1,2})\s?of\s\d{1,2}     S01E${1}     1
    16    1    0    1    serija.iz    <empty>    0
    17    1    0    1    (    <empty>    0
    18    1    0    1    )    <empty>    0
    19    1    0    1    Tron.Uprising    Tron Uprising    0
    20    1    0    1    Doroga.na.ostrov.Pashi.    The Road to Easter Island.    0
    21    1    0    1    Dnevnik.doktora.Zaytsevoy    Dnevnik Doktora Zaitsevoy    0
    22    1    0    1    The.Legend.of.Korra    The Legend of Korra    0
    23    1    0    1    _e    .e    0
    24    1    1    1    Бонус     Бонус.s0e    0
    25    1    1    1     - 2. Серия №    .S02E    0
    26    1    1    1    Дневник доктора Зайцевой    Dnevnik Doktora Zaitsevoy    0
    27    1    1    1    2012    0.2012    0
    28    1    1    1    Метод Фрейда.    Metod Freyda.E    0
    29    1    1    1    Delo.Gastronoma.N1.    Delo Gastronoma N1.    0
    30    1    1    1    Сваты6.    Svaty.S06E    0
    31    1    1    1    Kuhnja.2.    Кухня.S02E    0
    32    1    1    1    Jeskadrilja.Chernaja.ovca    Black Sheep Squadron    0
    33    1    1    1    obratnaya_storona_luny_    Обратная сторона луны.S01E    0
    34    1    1    1    _serya    .seriya    0
    35    1    1    1    Sindrom.drakona.    Синдром дракона.S01E    0
    36    1    1    1    Однажды.в.Одессе-Жизнь.Мишки.Япончика    Однажды в Одессе: Жизнь и приключения Мишки Япончика    0
    37    1    1    1    Пепел -     Pepel.S01E    0
    38    1    1    1     серия    .Серия    0
    39    1    1    1    Убить Сталина -     Убить Сталина.S01E    0
    40    1    1    1    SATRip.nnm-club    <empty>    0
    41    1    1    1    Восьмидесятые-5.2015.    Восьмидесятые.S05E    0
    42    1    1    1    Шерлок Холмс -     Шерлок Холмс.S01E    0
    43    1    1    1    Belka.i.Strelka.Ozornaya.semeyka    Белка и Стрелка    0
    44    1    0    1    (?-i)([A-Z])\.(?=[A-Z])    ${1}    1
    45    1    0    0    <space><space>    <space>    0
    46    1    1    1    Dragons - Defenders of Berk [Season 2] 2013-2014 WEB-DL 720p [Rus, Eng]    Драконы: Всадники Олуха    0
    47    1    1    1    James.May's.Cars.of.the.People.E    James May's Cars of the People.S01E    0
    48    1    1    1    Кухня_    Кухня.S05E    0
    49    1    1    1    Ressurection    Resurrection    0
    50    1    1    1    Драконы Всадники Олуха - Dragons Riders of Berk    Драконы: Всадники Олуха    0
    51    1    1    1    Fizruk-2.Seriya.    Физрук.S02E    0
    52    1    1    1    Legavyy-2.    Legavyy.S02E    0
    53    1    1    1    Legavyy    Легавый    0
    54    1    1    1    Интерны 12 -     Интерны.S12E    0
    55    1    1    1    .WEB.400p    <empty>    0
    56    1    1    1    .SAT.400p    <empty>    0
    57    1    1    1    Ostanniy.moskal\\Ostanniy.moskal.[0-9]+\\Ostanniy.moskal.    Последний москаль.S01E    1
    58    1    1    1    Akta.Manniskor(Real.Humans)    Akta Manniskor    0
    59    1    1    1    Akta ManniskorReal Humans    Akta Manniskor    0
    60    1    1    1    Интерны 13 -     Интерны.S13E    0
    61    1    1    1    Слуга народа 2015    Слуга народа.S01    0
    62    1    1    1    \s*(\d+).Серия    .E${1}.Серия    1
     

    Users who are viewing this thread

    Similar threads

    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    Hello, I'm encountering an issue after importing EPG data into the TV-Server/Database. The Problem: After importing an XMLTV...
    Replies
    7
    Views
    1K
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    1K
    Actually, you just reminded me of how I have handled this in the past: I merged the contents of an old export.xml with a new one to make a complete file containing the old values I needed and the new values I didn't want to change. Why should it matter if the export file is missing some values? I would expect the import process to...
    Actually, you just reminded me of how I have handled this in the past: I merged the contents of an old export.xml with a new one to...
    My "fresh install" is missing some settings (in particular genre maps) that I would like to import from a previous export. There...
    Replies
    2
    Views
    526
    Are the media/video folders on the Mint host?
    Are the media/video folders on the Mint host?
    I've used Mediaportal for years on a Windows Host with restricted online-access. Lately I reinstalled...
    Replies
    1
    Views
    565
    How does the Timezone flag work? What input is it looking for? I went through the source code and all I saw was "America/New_York." I tried "America/Chicago" but still getting GMT times in the xmltv.xml file. Edit: Got this figured out. In the XmlTv plugin, you need to select "Apply timezone compensation when loading tvguide.xml" and...
    How does the Timezone flag work? What input is it looking for? I went through the source code and all I saw was "America/New_York."...
    NOT A MEDIAPORTAL ISSUE. Using MediaPortal1, Kodi for TV viewing. Today I noticed the TV Guide in Kodi stopped updating. A Google...
    Replies
    120
    Views
    38K
    Top Bottom