Help, getting | Page 2

Discussion in 'My TVSeries' started by mjmapi, May 10, 2018.

  1. mjmapi
    • Premium Supporter

    mjmapi MP Donator

    Joined:
    June 24, 2009
    Messages:
    151
    Likes Received:
    11
    Gender:
    Male
    Occupation:
    Business Application Consultant
    Location:
    Pretoria
    Ratings:
    +20 / 2
    Home Country:
    South Africa South Africa
    Hi Guys, found the problem,this was caused by an episode of Chicago fire, on my share this episode was named as Chicago Fire.S06E9519760611.mkv, i think this is what was breaking my TvSeries import, rename/remove the file and import works fine.

    Im not sure why sabnzbd renamed this episode as such, anyway to recreate this rename any episode you have in your library with E9519760611, i assume any number will work as long as is greater than the max int32, see its declarations below based on what i could find on google, thanks for the help ED+RoChess

    Int32

    It is a FCL type.

    In C#, int is mapped to Int32.



    It is a value type and represent System.Int32 struct.

    It is signed and takes 32 bits.

    It has minimum -2147483648 and maximum +2147483647 value.
     
    • Funny Funny x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,844
    Likes Received:
    694
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,182 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Ah, that makes sence...
    This looks like za2it or schedules direct or rovi episode id. I'm not familiar with them. One guy here wrote SD assigning such numbers to his recordings

    Отправлено с моего Redmi 3S через Tapatalk
     
  4. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,080
    Likes Received:
    1,276
    Ratings:
    +1,628 / 2
    One solution to that would be to limit the Regular Expression to only allow a certain digits max for the numbers to avoid int32 overflows.

    Current code most likely uses \d+ which allows for any number, so \d{1,5} would limit that to 5-digits max.

    Ideally it gets handled as well in the code though to sanitize.
     
    • Agree Agree x 1
  5. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,384
    Likes Received:
    4,164
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,277 / 0
    Home Country:
    Australia Australia
    Hilarious,

    this is the kind of thing I would use when testing :) I agree, there should be some protection both in the regex and in the code.
     
  6. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,080
    Likes Received:
    1,276
    Ratings:
    +1,628 / 2
    Gotta agree though, that's a good run for a show: Season 6, Episode 9,519,760,611 :whistle:
     
  7. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,844
    Likes Received:
    694
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,182 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Too often for my taste if season is a year...
     
  8. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,080
    Likes Received:
    1,276
    Ratings:
    +1,628 / 2
    Maybe it is a new date-aired format using Unix timestamp? It resolves to: Saturday, September 2nd 2271, 05:56:51 (5:56 am)

    Sci-Fi stardate reference? Captain's logs... lol
     
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!