Update libs

This commit is contained in:
Antoine Bertin
2012-06-24 23:28:38 +02:00
parent 2d05aafc04
commit 88b71c8116
157 changed files with 15686 additions and 2017 deletions
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
+1 -1
View File
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
__version__ = '0.5-dev'
__version__ = '0.4.2'
__all__ = ['Guess', 'Language',
'guess_file_info', 'guess_video_info',
'guess_movie_info', 'guess_episode_info']
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
+2 -1
View File
@@ -116,6 +116,7 @@ lng_exceptions = { 'unknown': ('und', None),
'cn': ('chi', None),
'chs': ('chi', None),
'jp': ('jpn', None),
'scc': ('srp', None),
'scr': ('hrv', None)
}
@@ -248,7 +249,7 @@ class Language(object):
def opensubtitles(self):
if self.lang == 'por' and self.country and self.country.alpha2 == 'br':
return 'pob'
elif self.lang in ['gre', 'srp']:
elif self.lang in ['gre', 'eus', 'ice', 'srp']:
return self.alpha3term
return self.alpha3
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File