jordoncm/youtube-dl-playlist — Issue #5: "filename" is undefined on line 118
Author: Pastafarianist
Created: 2012-01-14 16:27:09+00:00
State: open

Python complains about an undefined identifier "filename" on line 118.
https://github.com/jordoncm/youtube-dl-playlist/blob/master/youtube-dl-playlist#L118
You probably wanted to shift the entire block on lines 118-123 to the right.