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

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Ok, so taking the top entry of the one that failed, I guess you expected:

    41 1 1 1 Восьмидесятые-5.2015. Восьмидесятые.S05E 0​

    To work for you.

    And that will fail, because the '\' indicates the actual files are in a subfolder. That means you will need to use an expression that is equipped to handle "<show>.<season>\<episode>.<ext>"

    Possibly the string-replacement method can fix the folder structure (not sure if the full path is used as a string), but I have never tried that myself. Worth a try I guess, so you would need something like:

    41 1 1 1 Восьмидесятые-5.2015.SATRip.nnm-club\ Восьмидесятые.S05E 0​

    Do you 'see' why it failed the way you had it? The primary expression only looks at filenames, so the only part it looks for is the "01.cерия.avi" in your case, which lacks a reference to the show, and season. Other expressions are shared on this forum though, including ones that support folder-show\season\episode.ext, but then those would still not work for your structure as-is, because season is not a subfolder. You might be better off renaming those few files correctly the old fashion manual way, and reprocess them.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #12
    Ok, so taking the top entry of the one that failed, I guess you expected:
    Rules that the screenshot, everything works fine, but lack the function of which I spoke.
    And that will fail, because the '\' indicates the actual files are in a subfolder. That means you will need to use an expression that is equipped to handle "<show>.<season>\<episode>.<ext>"
    What was in the screenshot, the examples was a test, there are no rules, screenshots of the rules with a working system.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #13
    Do you 'see' why it failed the way you had it? The primary expression only looks at filenames, so the only part it looks for is the "01.cерия.avi" in your case, which lacks a reference to the show, and season. Other expressions are shared on this forum though, including ones that support folder-show\season\episode.ext, but then those would still not work for your structure as-is, because season is not a subfolder. You might be better off renaming those few files correctly the old fashion manual way, and reprocess them.
    I'm fine and everything works, just to create a rule does not suffice that I ask. Not enough option to delete rules, and not enough numbers in order to every rule.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,959
    13,420
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #14
    Any news?
    Can you add to the Debug log (process of importing local files) the following data:
    Original filename (Which will process the rules and participate in the identification.) - Result filename (after replacement) - Result rule under which imports occur.
    Like:
    • some filename 10 season 50 episod - some title - webdl.avi - some filename.S10E50.some title.avi - Rule: <series>.S<season>E<episode>.<title>.<ext>
    I do not think that this is difficult. And all the data already exists. You can not on one line, in a few, but it would facilitate the understanding of how things work and what is wrong with the new rules.
    Thanks in advance. WBR ajs :):coffee:
     

    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
    703
    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
    523
    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
    2K
    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
    2K
    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
    713
    Top Bottom