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:


For easy copypasta:

  • Stan­dard Episode Format
    Ex. Series_Title_2010.s01e01_Episode_Title_(1)
  • Daily Episode Format
    Ex. Series_Title_2010.2013–10-30_Episode_Title_(1)
  • Anime Episode Format
    Ex. Series_Title_2010.s01e01_Episode_Title_(1)
  • Anime Episode Format
    Ex. Series_Title_2010.s01e01_Episode_Title_(1)
  • Multi-Episode Style = “Extended”
    Ex. Series_Title_2010.s01e01-02_Episode_Title

Increase File Upload Size Limit

I am work­ing on a project that requires high-level users to be able to upload more than the default Word­Press file-upload limit. I’ve done this in the past but I have set it to a multi-domain set­ting. Mean­ing that it encom­passes all of my domains being hosted in a par­tic­u­lar Dreamhost user account.

I wanted to only increase the file size (again) to some­thing much larger than I’ve had before but only for a par­tic­u­lar sub­do­main; as I was using it for stag­ing. Here’s the process that I took to make that hap­pen.1

Con­tinue reading →

  1. These steps are a para­phrase from Dreamhost’s Wiki arti­cle. []

How Not to Use Default Gateway on VPN (PPTP) in Mac OSX

Well, after search­ing for hours and hours, I have finally found a solu­tion to a small but trou­ble­some prob­lem. The prob­lem (if you call it that) occurs when I tried con­nect­ing to my work’s VPN. Rather than not using my work’s gate­way when con­nected, OSX does this by default. Hence, you can see and hit your inter­nal IPs but not resolve the rest of the internet.

In Win­dows XP, this may be dis­abled via the following: 

  1. Open Net­work Connections
  2. Under Vir­tual Pri­vate Net­work, open the Prop­er­ties of your connection
  3. Click and open Prop­er­ties for “Inter­net Pro­to­cal (TCP/IP)”
  4. Click on Advanced
  5. Dis­able “Use default gate­way on remote network”
  6. Hit OK, OK, and then you’re done

Although it’s easy in Win­dows XP, I couldn’t fig­ure it out for OSX. I searched and search to finally get this arti­cle from macosx­hints, Avoid Cre­at­ing PPTP Default Routes. The hints at the very bot­tom of the com­ments helped some­what, but didn’t get me to view my inter­nal IPs—which was the reverse of the orig­i­nal prob­lem. Luck­ily, with a lit­tle bit more search, I landed on this arti­cle page by Chris­t­ian Stocker on Chang­ing default routes on OSX on VPN. Though it was the same as the pre­vi­ous page from macosx­hints, I saw this short and sweet reply which hap­pen to have fixed everything:

lon­nie @ 22.08.2006 19:22 CEST
Inter­net Con­nect 1.4.2 has

Con­nect Menu -> Options…

|X| Send all traf­fic over VPN connection

Uncheck­ing should do the same.

I hope this arti­cle could be of help, and save those who are look­ing for the same solu­tion san­ity and time.