fix encoding profile
This commit is contained in:
parent
892616dc48
commit
9be69f2568
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue