added TV episode parsing to preexisting and build_media functions