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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,496
    10,374
    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,496
    10,374
    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,496
    10,374
    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,496
    10,374
    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,496
    10,374
    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,496
    10,374
    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

    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after restart. If you go to an episode and open the options and pick choose artwork then choose episode thumbnail it shows the correct thumbnail and says it is remote. Click on it and it goes local instantly and...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    So not 100% sure if this is a MyTVSeries or FanArt issue, but the episode thumbnails always revert to the series default after...
    Replies
    0
    Views
    218
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    Whenever I go into the back end for Moving Pictures, it almost immediately hangs on the Movie Importer tab. If I want to go into...
    Replies
    4
    Views
    369
    The layout of remotes does vary from one model/brand to another. I too find that some layouts are better than others. Generally, I prefer the buttons that I use most-frequently to be positioned near the center of the remote, which is not the case with that particular Dell remote. :( Battery life is often a problem. A remote that I...
    The layout of remotes does vary from one model/brand to another. I too find that some layouts are better than others. Generally, I...
    In Dec 2020: I purchased 2 remotes for my new HTPC install, eg: HP USB MCE IR RC6 Wireless Receiver and TSGH-IR02 Windows Media...
    Replies
    16
    Views
    3K
    MP1 MP2 Dropping Episodes DE
    Hello everyone, I have the same problem on some series, the last one I found is Law and Order (New York Police judiciaire in French), season 20 only displays the first 3 episodes, I couldn't find any difference in the file names between these first 3 episodes and the following ones except for the episode number of course. By going...
    Hello everyone, I have the same problem on some series, the last one I found is Law and Order (New York Police judiciaire in...
    Hi all, this seems to be a bit of a follow up on an issue I was having a couple of years ago. That issue just seemed to resolve...
    Replies
    3
    Views
    722
    MP1 MP2 MP2 - V2.4.1 Mouse support for timeshift DE
    I guess it's really a rare case, most users use remote controls, then keyboards and last mouse. I tired to design things mouse friendly as much as possible, because it was almost impossible when I joined the team. As former WMC user I quickly decided to create a WMC-like skin which comes as close as possible in terms of appearance and...
    I guess it's really a rare case, most users use remote controls, then keyboards and last mouse. I tired to design things mouse...
    Hi, I am new to Media Portal, I am an avid Windows Media Center user, love it and trying to hold onto it as long as possible...
    Replies
    9
    Views
    1K
    Top Bottom