diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index 6d3a8cb5f..90cd7aff4 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -1795,20 +1795,20 @@ class Daemon(metaclass=JSONRPCServerType): making sure to include colon for blank values, for example to provide only the city: - --locations="::Manchester" + ... --locations="::Manchester" with all values set: - --locations="US:NH:Manchester:03101:42.990605:-71.460989" + ... --locations="US:NH:Manchester:03101:42.990605:-71.460989" optionally, you can just pass the "LATITUDE:LONGITUDE": - --locations="42.990605:-71.460989" + ... --locations="42.990605:-71.460989" finally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC - --locations="{'country': 'US', 'state': 'NH'}" + ... --locations="{'country': 'US', 'state': 'NH'}" --contact_email=: (str) email of channel owner --homepage_url= : (str) homepage url @@ -1903,20 +1903,20 @@ class Daemon(metaclass=JSONRPCServerType): making sure to include colon for blank values, for example to provide only the city: - --locations="::Manchester" + ... --locations="::Manchester" with all values set: - --locations="US:NH:Manchester:03101:42.990605:-71.460989" + ... --locations="US:NH:Manchester:03101:42.990605:-71.460989" optionally, you can just pass the "LATITUDE:LONGITUDE": - --locations="42.990605:-71.460989" + ... --locations="42.990605:-71.460989" finally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC - --locations="{'country': 'US', 'state': 'NH'}" + ... --locations="{'country': 'US', 'state': 'NH'}" --contact_email=: (str) email of channel owner --homepage_url= : (str) homepage url @@ -2105,20 +2105,20 @@ class Daemon(metaclass=JSONRPCServerType): making sure to include colon for blank values, for example to provide only the city: - --locations="::Manchester" + ... --locations="::Manchester" with all values set: - --locations="US:NH:Manchester:03101:42.990605:-71.460989" + ... --locations="US:NH:Manchester:03101:42.990605:-71.460989" optionally, you can just pass the "LATITUDE:LONGITUDE": - --locations="42.990605:-71.460989" + ... --locations="42.990605:-71.460989" finally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC - --locations="{'country': 'US', 'state': 'NH'}" + ... --locations="{'country': 'US', 'state': 'NH'}" --license= : (str) publication license --license_url= : (str) publication license url @@ -2226,20 +2226,20 @@ class Daemon(metaclass=JSONRPCServerType): making sure to include colon for blank values, for example to provide only the city: - --locations="::Manchester" + ... --locations="::Manchester" with all values set: - --locations="US:NH:Manchester:03101:42.990605:-71.460989" + ... --locations="US:NH:Manchester:03101:42.990605:-71.460989" optionally, you can just pass the "LATITUDE:LONGITUDE": - --locations="42.990605:-71.460989" + ... --locations="42.990605:-71.460989" finally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC - --locations="{'country': 'US', 'state': 'NH'}" + ... --locations="{'country': 'US', 'state': 'NH'}" --license= : (str) publication license --license_url= : (str) publication license url @@ -2372,20 +2372,20 @@ class Daemon(metaclass=JSONRPCServerType): making sure to include colon for blank values, for example to provide only the city: - --locations="::Manchester" + ... --locations="::Manchester" with all values set: - --locations="US:NH:Manchester:03101:42.990605:-71.460989" + ... --locations="US:NH:Manchester:03101:42.990605:-71.460989" optionally, you can just pass the "LATITUDE:LONGITUDE": - --locations="42.990605:-71.460989" + ... --locations="42.990605:-71.460989" finally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC - --locations="{'country': 'US', 'state': 'NH'}" + ... --locations="{'country': 'US', 'state': 'NH'}" --license= : (str) publication license --license_url= : (str) publication license url diff --git a/tests/unit/stream/test_stream_manager.py b/tests/unit/stream/test_stream_manager.py index 14bfd14cb..e422d6853 100644 --- a/tests/unit/stream/test_stream_manager.py +++ b/tests/unit/stream/test_stream_manager.py @@ -63,7 +63,7 @@ def get_mock_wallet(sd_hash, storage, balance=10.0, fee=None): elif fee['currency'] == 'USD': claim_obj.stream.fee.usd = Decimal(fee['amount']) claim_obj.stream.title = "33rpm" - claim_obj.stream.language = "en" + claim_obj.stream.languages.append("en") claim_obj.stream.sd_hash = sd_hash claim_obj.stream.media_type = "image/png" claim['value'] = claim_obj