dont importing RAR files. (1 Viewer)

navaras

Portal Member
December 20, 2008
18
0
Vilnius
Home Country
Then i reniew MP to 1.1 and also tv series i cant import series wich are ziped to pieces (rar.01, rar 02 rtc). I installed rarmount also like previuosly, add .rar file type to extension list. I can play serie from "my video". So what i must to do in option (i checked all tabs) that plugin coul import RAR files.
 

navaras

Portal Member
December 20, 2008
18
0
Vilnius
Home Country

Attachments

  • rar.png
    rar.png
    14.7 KB

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897

    I add your suggested code, but nothing happened.
    Also i attached screen shot of my rar type.

    Your problem is that MP-TVSeries lacks SkyNet Artificial Intelligence support, and currently has no NFO support.

    So it is unable to know that 'wat-xvid-dhs01e01.rar' is supposed to be "Desperate Housewives S01E01"

    So you need to create a string replacement rule that turns 'wat-xvid-dh' into 'Desperate Housewives ' (be aware of the trailing space so that s01e01 is seperated properly, and make it run before parsing expressions).

    You can also create tag rules, such as make 'wat-' a tag string replacement, so that it will work on more different episodes that might have a different tag. But you will still need a 'dh' = 'Desperate Housewives' rule then. The problem with such a short rule is that there is a risk that it will make false positives, because 'dh' could be part of a title. So using '-dh' is already a better idea then.
     

    d_k_id

    New Member
    December 3, 2010
    2
    0
    Hello,

    I'm having the same problem - in MP - TV Series - When I click the refresh button some of the shows (rar files, several parts) are not found.
    I have added most the regexp I saw in 'Expressions/Rules exchange' link - no help.

    e.g. for a problematic folder:

    F:\Media\TV\How I Met Your Mother\How.I.Met.Your.Mother.S06E01.720p.HDTV.X264-DIMENSION\

    under it I have How.I.Met.Your.Mother.S06E01.720p.HDTV.X264-DIMENSION.rar - How.I.Met.Your.Mother.S06E01.720p.HDTV.X264-DIMENSION.r10 (.nfo and .sfv files)

    when I extract the mkv file from the rar (on the same dir) the import refresh finds the file, so I assumed that maybe if I copy existing regexp with .rar instead of .<ext> - that also did not help :(

    Thanks in advance for any help.

    NOTE - in the log you can see Life was not parsed well - I don't care about it I edit it manually on one of the next steps and it is fine.

    Mediaportal version:
    2010-12-03 19:38:27.443523 [Info.][MPMain(1)]: Main: MediaPortal v1.1.2.0 is starting up on Windows 7 [6.1.7600.0]

    here is the LOG FILE for the plugin:

    00000001 - 03/12/2010 20:28:09 - Successfully opened database 'C:\ProgramData\Team MediaPortal\MediaPortal\Database\TVSeriesDatabase4.db3'
    00000001 - 03/12/2010 20:28:09 - MP-TVSeries Version: v2.6.6.1275
    00000001 - 03/12/2010 20:28:09 - MP-TVSeries Build Date: 14/11/2010 06:41:31
    00000001 - 03/12/2010 20:28:11 - **** Plugin started in configuration mode ***
    00000001 - 03/12/2010 20:28:11 - Loading Skin Settings: v1.1.0.0
    00000001 - 03/12/2010 20:28:11 - Loading Supported Layouts Skin Settings
    00000001 - 03/12/2010 20:28:11 - Loading Skin Group View Settings
    00000001 - 03/12/2010 20:28:11 - Loading Skin Series View Settings
    00000001 - 03/12/2010 20:28:11 - Loading Skin Season View Settings
    00000001 - 03/12/2010 20:28:11 - Loading Skin Episode View Settings
    00000001 - 03/12/2010 20:28:11 - Loading Skin Thumbnail Graphics Quality
    00000001 - 03/12/2010 20:28:11 - Loading Skin Formatting Rules
    00000001 - 03/12/2010 20:28:11 - Loading Skin Logo Rules
    00000001 - 03/12/2010 20:28:11 - Loading images to be loaded in video OSD
    00000001 - 03/12/2010 20:28:11 - Loading images to be loaded during video play
    00000001 - 03/12/2010 20:28:11 - Loading Translations for en(us)
    00000001 - 03/12/2010 20:28:11 - 270 translated Strings found
    00000006 - 03/12/2010 20:28:11 - Retrieving a list of languages from online
    00000006 - 03/12/2010 20:28:12 - Received 1 mirror site(s) from Online TV Database - An open directory of television shows for HTPC software
    00000001 - 03/12/2010 20:28:13 - Successfully retrieved 23 languages from online
    00000001 - 03/12/2010 20:28:33 - Expressions cleared
    00000001 - 03/12/2010 20:28:33 - Parsing Expressions succesfully imported!
    00000001 - 03/12/2010 20:28:35 - Compiling Parsing Expressions
    00000001 - 03/12/2010 20:28:35 - Finished Compiling Parsing Expressions, found 34 valid expressions
    00000001 - 03/12/2010 20:28:35 - Compiling Replacement Expressions
    00000001 - 03/12/2010 20:28:35 - Finished Compiling Replacement Expressions, found 19 valid expressions
    00000001 - 03/12/2010 20:28:35 - Starting Parsing test, getting all files
    00000006 - 03/12/2010 20:28:36 - Found 418 supported video files in your import paths
    00000006 - 03/12/2010 20:28:36 - Starting Local Filename Parsing, processing 418 files
    00000006 - 03/12/2010 20:28:36 - Finished Local Filename Parsing
    00000001 - 03/12/2010 20:28:36 - Parsing test completed
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E01 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E02 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E03 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E04 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E05 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E06 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E07 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E08 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E09 BluRay BBC 1080p x264 H@M.mkv
    00000001 - 03/12/2010 20:28:36 - Parsing failed for Life\Life E10 BluRay BBC 1080p x264 H@M.mkv

    --------------End of log file

    Parsing expressions I used (exported from the plugin):

    1;regexp;^.*?\\?(?<series>[^\\$]+?)[ _.\-\[]+(?:?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\]*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$
    1;regexp;^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
    1;regexp;^(?<series>[^\\$]+)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
    1;regexp;(?<series>[^\\\[]*) - \[(?<season>[0-9]{1,2})x(?<episode>[0-9\W]+)\](( |)(-( |)|))(?<title>(?![^\\]*?sample)[^$]*?)\.(?<ext>[^.]*)
    1;regexp;(?<series>[^\\$]*) - season (?<season>[0-9]{1,2}) - (?<title>(?![^\\]*?sample)[^$]*?)\.(?<ext>[^.]*)
    1;simple;<series> - <season>x<episode> - <title>.<ext>
    1;simple;<series>\Season <season>\Episode <episode> - <title>.<ext>
    1;simple;<series>\<season>x<episode> - <title>.<ext>
    1;simple;<series>.<season>x<episode>.<title>.<ext>
    1;simple;<series>\<series> E<episode>.<ext>
    1;simple;<series>\<series>.<season>x<episode>.<title>.<ext>
    1;regexp;^[^\\$]+\\[^\\$]+\\((?<series>[^\\$$]+)( - ))((?<season>[\d]+)x(?<episode>[\d]+)([\s]+(?<episode2>[\d]+))?( - ))((?<title>[^\\$]*)( - ))(?<language>[^\\$]*)\.(?<ext>[^\\$]+)$
    1;regexp;\\(?<series>.+)\.s(?<season>[0-9]+)e(?<episode>[0-9]+).+?\\.+(?:(?<!part\d\d\d|part\d\d)\.rar|\.part0*1\.rar)
    1;regexp;\\(?<series>.+)\.(?<season>[0-9]+)x(?<episode>[0-9]+).+?\\.+(?:(?<!part\d\d\d|part\d\d)\.rar|\.part0*1\.rar)
    1;regexp;^.*?\\?(?<series>[^\\$]+?)[ .-]+[\#s]?(?<season>\d+)[ .-]?[ex.](?<episode>\d+)[+-]?(?<episode2>\d+)?[ .-]*(?<title>(?![^\\]*?sample)[^$]*?)\.(?<ext>[^.]*)$
    1;regexp;^.*?\\?(?<series>[^\\$]+?)[ .-]+[\#s]?(?<season>\d+)[ .-]?[ex.](?<episode>\d+)[+-]?(?<episode2>\d+)?[ .-]*(?<title>(?![^\\]*?sample)[^$]*?)\.(?<ext>[^.]*)$
    1;regexp;^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d ))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$

    1;regexp;^.*?\\?(?<series>[^\\$]+?)[ _.\-\[]+(?:?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\]*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$
    1;regexp;^.*?\\?(?<series>[^\\$]+?)[ _.\-\[]+(?:?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\]*?(?<!the)[ .(-]sample[ .)-]).*?)\.rar$
    1;regexp;^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.rar$
    1;regexp;^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(rar)$
    1;regexp;^(?<series>[^\\$]+)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(rar)$
    1;regexp;(?<series>[^\\\[]*) - \[(?<season>[0-9]{1,2})x(?<episode>[0-9\W]+)\](( |)(-( |)|))(?<title>(?![^\\]*?sample)[^$]*?)\.rar
    1;regexp;(?<series>[^\\$]*) - season (?<season>[0-9]{1,2}) - (?<title>(?![^\\]*?sample)[^$]*?)\.rar
    1;regexp;(?<series>[^\\\[]*) - \[(?<season>[0-9]{1,2})x(?<episode>[0-9\W]+)\](( |)(-( |)|))(?<title>(?![^\\]*?sample)[^$]*?)\.(rar)$
    1;regexp;(?<series>[^\\$]*) - season (?<season>[0-9]{1,2}) - (?<title>(?![^\\]*?sample)[^$]*?)\.(rar)$
    1;regexp;(?<series>[^\\\[]*) - \[(?<season>[0-9]{1,2})x(?<episode>[0-9\W]+)\](( |)(-( |)|))(?<title>(?![^\\]*?sample)[^$]*?)\.rar$
    1;regexp;(?<series>[^\\$]*) - season (?<season>[0-9]{1,2}) - (?<title>(?![^\\]*?sample)[^$]*?)\.rar$
    1;simple;<series> - <season>x<episode> - <title>.rar
    1;simple;<series>\Season <season>\Episode <episode> - <title>.rar
    1;simple;<series>\<season>x<episode> - <title>.rar
    1;simple;<series>.<season>x<episode>.<title>.rar
    1;simple;<series>\<series> E<episode>.rar
    1;simple;<series>\<series>.<season>x<episode>.<title>.rar
     

    Users who are viewing this thread

    Top Bottom