When Import show new (repalced) filename

Discussion in 'My TVSeries' started by ajs, November 24, 2015.

  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,785
    Likes Received:
    2,752
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,737 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    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.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,468
    Likes Received:
    4,270
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,422 / 0
    Home Country:
    Australia Australia
    o_O
     
  4. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,785
    Likes Received:
    2,752
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,737 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,191
    Likes Received:
    1,308
    Ratings:
    +1,688 / 2
    @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.
     
  6. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,785
    Likes Received:
    2,752
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,737 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    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.
     
  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,785
    Likes Received:
    2,752
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,737 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @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:
     
  8. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,191
    Likes Received:
    1,308
    Ratings:
    +1,688 / 2
    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.
     
    • Thank You! Thank You! x 1
  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,785
    Likes Received:
    2,752
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,737 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    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.
     
  10. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,191
    Likes Received:
    1,308
    Ratings:
    +1,688 / 2
    @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.
     
  11. ajs
    • Team MediaPortal

    ajs Development Group

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

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!