fix encoding profile

This commit is contained in:
j 2011-12-28 14:23:53 +05:30
parent 892616dc48
commit 9be69f2568
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"url": "http://pandora_url/api/",
"username": "username", "password": "password"
"username": "username", "password": "password",
"cache": "~/.ox/client.sqlite",
"volumes": {
"my videos": "/home/example/Movies"

View file

@ -235,7 +235,7 @@ class Client(object):
else:
volumes[name]['available'] = False
profile = self.api.encodingProfile()['data']['profile']
profile = self.get_profile()
for name in volumes:
if volumes[name]['available']:
prefix = volumes[name]['path']
@ -288,7 +288,7 @@ class Client(object):
else:
volumes[name]['available'] = False
profile = self.api.encodingProfile()['data']['profile']
profile = self.get_profile()
for name in volumes:
if volumes[name]['available']:
prefix = volumes[name]['path']