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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,144
    13,731
    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
    16,144
    13,731
    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
    16,144
    13,731
    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
    16,144
    13,731
    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
    16,144
    13,731
    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
    16,144
    13,731
    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 think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    1K
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    830
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Hi everyone, I have been using it For 16 years now (from V1.1.1) and it has worked flawlessly. I only use TV Series and Moving...
    Replies
    2
    Views
    341
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    419
    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
    3K
    Top Bottom