Fix to the XBMC “could not enumerate file” error

Usu­ally, this hap­pens with files being loaded into the library don’t have the required reg­u­lar expres­sion pat­tern that XBMC is look­ing for, when it loads files into the library. That reg­u­lar expres­sion is usu­ally in the form of anything_s01e02 for exam­ple (sea­son num­ber, and episode num­ber). When this occurs, you may still view the episodes but you have to go through the “Files” way of view­ing it; not through your TV’s library (like the other TV episodes themselves).

After going through XBMC wiki’s page regard­ing “Nam­ing video files/TV shows,” here’s the Nzb­Drone set­tings that I use now to rename my Anime episode files:

nzbdrone-xbmc-filename-friendly-format

For easy copypasta:

  • Stan­dard Episode For­mat
    Ex. Series_Title_2010.s01e01_Episode_Title_(1)

    {Series_CleanTitle}.s{season:00}e{episode:00}_{Episode_Title}
  • Daily Episode For­mat
    Ex. Series_Title_2010.2013–10-30_Episode_Title_(1)

    {Series_CleanTitle}.{Air-Date}_{Episode_Title}
  • Anime Episode For­mat
    Ex. Series_Title_2010.s01e01_Episode_Title_(1)

    {Series_CleanTitle}.s{season:00}e{episode:00}_{Episode_Title}
  • Anime Episode For­mat
    Ex. Series_Title_2010.s01e01_Episode_Title_(1)

    {Series_CleanTitle}.s{season:00}e{episode:00}_{Episode_Title}
  • Multi-Episode Style = “Extended“
    Ex. Series_Title_2010.s01e01-02_Episode_Title