public
Description: Simple to use TVDB (thetvdb.com) API in Python, and automatic TV episode namer
Homepage: http://dbr.lighthouseapp.com/projects/13342-tvdb_api/tickets
Clone URL: git://github.com/dbr/tvdb_api.git
Search Repo:
Deal with unicode corrected-showname by converting unticode to ASCII
dbr (author)
Thu May 15 19:11:15 -0700 2008
commit  2b13c73fc39e19b24e10b7784745fddf900c05e2
tree    d9ee638e2287a3bc1248bdf4567c10a114b6a10a
parent  77c548eb9fd441bf66d0f8a281466f883669ccfe
...
126
127
128
 
 
129
130
131
...
126
127
128
129
130
131
132
133
0
@@ -126,6 +126,8 @@
0
 #end formatName
0
 
0
 def cleanName(name):
0
+ name = name.encode('ascii','ignore') # convert unicode to ASCII
0
+
0
     return ''.join( [c for c in name if c in config['valid_filename_chars']] )
0
         
0
 

Comments

    No one has commented yet.