Utils

bgetlib.utils.av2bv(aid: int) str[source]

Convert aid to bvid

bgetlib.utils.bv2av(bvid: str) int[source]

Convert bvid to aid

bgetlib.utils.ntfs_escape(filename: str) str[source]

Convert any string to a NTFS filename

On NTFS Filesystem under Windows, some special characters are forbidden in filenames. This function replace them with unicode characters with same glyph.