shared subtitle project helper functions