mediaframe: Fix encoding of files added via a directory.
Some file paths do not get encoded properly, such as ones containing a # character, and can't be loaded.
My previous fix wasn't sufficient. This is a more proper way to do it.
Some file paths do not get encoded properly, such as ones containing a # character, and can't be loaded.
My previous fix wasn't sufficient. This is a more proper way to do it.