soleil0-0/GazelleSync

can't reseed new torrent uploaded by gazellesync

Closed this issue · 0 comments

Detail

  • can't reseed new torrent uploaded by gazellesync (When GazelleSync and music files not in the same machine, we may encounter encoding problem of filename)

Impl

  • Keep original encoding of filename

Detect encoding of filename

python2 -- <<EOF
import chardet
import os  

for n in os.listdir('.'):
    print '%s => %s (%s)' % (n, chardet.detect(n)['encoding'], chardet.detect(n)['confidence'])
EOF

Reference