Giter Club home page Giter Club logo

Comments (6)

rectalogic avatar rectalogic commented on June 18, 2024

Thanks. Couple of comments:

  • Add api_host to the README.rst sample config

  • Make preferred_audio_quality schema optional and configure the choices, e.g.:

    schema['preferred_audio_quality'] = config.String(optional=True, choices=['lowQuality', 'mediumQuality','highQuality'])
  • Is schema['api_host'] optional and does it have a default?

  • Make both configs (api_host and preferred_audio_quality) optional when building settings, i.e. use config.get("preferred_audio_quality", 'mediumQuality')

from mopidy-pandora.

jcass77 avatar jcass77 commented on June 18, 2024

I've implemented the changes - thank you.

api_host is optional as the changes proposed in mcrute/pydora#2 contain defaults for this configuration setting as well. Just for reference: the available api host urls are listed at the top of the specification at http://6xq.net/playground/pandora-apidoc/json/

It will only ever be necessary to change api_host when using a Pandora One account, in which case using internal-tuner.pandora.com/services/json/ may be preferable. I'm not sure we should list the configuration choices in the schema as they can only be used with specific permutations of the other partner_ settings.

from mopidy-pandora.

jcass77 avatar jcass77 commented on June 18, 2024

I've created the pull request so long (#3)

from mopidy-pandora.

jcass77 avatar jcass77 commented on June 18, 2024

Just a note that the required changes to pydora were recently merged, and are now contained in release 0.2.3.

@rectalogic, would you mind taking a look at #3 when you are ready and let me know if you encounter any issues?

from mopidy-pandora.

rectalogic avatar rectalogic commented on June 18, 2024

Merged #3

from mopidy-pandora.

jcass77 avatar jcass77 commented on June 18, 2024

I forgot to increment the required version number of pydora - please take a look at #5

from mopidy-pandora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.