System.IO.PathTooLongException (1 Viewer)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    This is the longest path/filename in that folder, that is 268 chracter in total...

    \\SERVER\elements1\Film\HD_Film_3\Pirates.Of.The.Caribbean.Trilogy.720p.BluRay.DTS.x264-FREECORE\Pirates.Of.The.Caribbean.The.Curse.Of.The.Black.Pearl.2003.1080p.BluRay.DTS.x264-hV/Pirates.Of.The.Caribbean.The.Curse.Of.The.Black.Pearl.2003.1080p.BluRay.DTS.x264-hV.mkv

    But how can a single file cause that no new files get indexed?
    If I shorten the "Pirates.Of.The.Caribbean.Trilogy.720p.BluRay.DTS.x264-FREECORE" a bit will that do the trick? I prefer not to change the filename because I want the full release name intact. But I guess I can make a .txt file with the ful release name.

    Your root folder shows 720p, but your actual file is 1080p. Renaming root folder to "Pirates.Of.The.Caribbean.Collection" (4th movie will be released next year anyway, so Trilogy term won't last) will reduce you below the 255 char limit.

    Another option is to use acronyms on the title, for example: \\SERVER\elements1\Film\HD_Film_3\Pirates.Of.The.Caribbean.Trilogy.720p.BluRay.DTS.x264-FREECORE\PotC.The.Curse.Of.The.Black.Pearl.2003.1080p.BluRay.DTS.x264-hV/Pirates.Of.The.Caribbean.The.Curse.Of.The.Black.Pearl.2003.1080p.BluRay.DTS.x264-hV.mkv
     

    Jellax

    Portal Member
    April 26, 2009
    28
    0
    Home Country
    Sweden Sweden
    Worked like a charm, I now have a bunch ov new movies in the database :)

    Is there a way to get some kind of error message when these kind of things happen it would be great.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom