Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volume management #22

Closed
jiri-janousek opened this issue Nov 10, 2014 · 2 comments
Closed

Add volume management #22

jiri-janousek opened this issue Nov 10, 2014 · 2 comments

Comments

@jiri-janousek
Copy link
Member

jiri-janousek commented Nov 10, 2014

Add volume management - API to change volume of playback outside Nuvola Player, e.g. MPRIS interface and command-line interface.

+1 from @fecosnippets (a Nuvola Patron)
+1 from @zepp (a Nuvola Patron)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@jiri-janousek
Copy link
Member Author

jiri-janousek commented Jun 11, 2017

All required APIs have been added to the master branch (Nuvola 4.4.15). Remaining tasks:

  • Write documentation for maintainers.
  • Integrate volume management in my streaming services
  • Ask maintainers of the other services to integrate volume management.

jiri-janousek added a commit that referenced this issue Jun 11, 2017
Issue: #22

JavaScript API:

  * MediaPlayer.updateVolume(volume) - to update current volume
  * New action PlayerAction.CHANGE_VOLUME - to change volume,
    called with the new volume as parameter
  * New flag MediaPlayer.setChangeVolume(state) - to enable remote
    volume change

Nuvola Runtime:

  * Developer sidebar updated to show volume
  * Test service got volume info
  * MPRIS plugin updated

IPC API:

  * /nuvola/mediaplayer/volume - get volume
  * /nuvola/mediaplayer/update-volume - update volume info
  * /nuvola/mediaplayer/volume-changed - notification

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
jiri-janousek added a commit to tiliado/nuvola-app-deezer that referenced this issue Jun 12, 2017
Issue: tiliado/nuvolaplayer#22

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
jiri-janousek added a commit to tiliado/nuvola-app-google-play-music that referenced this issue Jun 23, 2017
Issue: tiliado/nuvolaplayer#22

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
jiri-janousek added a commit to tiliado/nuvola-app-google-play-music that referenced this issue Jun 23, 2017
  * Malfunctioning Google sign-in page has been fixed by setting the
    user agent string to WebKit. Issue: tiliado/nuvolaplayer#336
  * Don't check setting THUMB_NEVER_TOGGLES too often.
  * Metadata was updated according to the latest Nuvola SDK
    requirements.
  * Progress bar is fully integrated - it is possible to show track
    position and change it as well. Issue: tiliado/nuvolaplayer#155
  * Volume management is fully integrated - it is possible to show
    volume and change it as well. Issue: tiliado/nuvolaplayer#22

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
jiri-janousek added a commit to tiliado/nuvola-app-deezer that referenced this issue Jun 23, 2017
  * Metadata was updated according to the latest Nuvola SDK
    requirements.
  * Progress bar is fully integrated - it is possible to show track
    position and change it as well. Issue: tiliado/nuvolaplayer#155
  * Volume management is fully integrated - it is possible to show
    volume and change it as well. Issue: tiliado/nuvolaplayer#22
  * The button to add track to favourite tracks was integrated as
    a menu item shown in the menu of Unity launcher, Plank launcher
    and tray icon.

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
jiri-janousek added a commit that referenced this issue Jun 23, 2017
Issue: #22

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
jiri-janousek added a commit that referenced this issue Jun 25, 2017
New Features:

  * Nuvola Apps Runtime supports the integration of a progress bar and
    volume management. Web app scripts which use this feature can not
    only provide track length & position and current volume but also
    allow user to change that remotely, e.g. from Media Player GNOME
    Shell extension. At the present, only Deezer and Google Play Music
    scripts use these features but others will follow.
    Issue: #22 Issue: #155
  * If Nuvola Apps Runtime detect a Nvidia graphics card, it checks
    whether the flatpak extension with corresponding graphics driver is
    installed. If it isn't, e.g. because of a bug in GNOME Software,
    an error message is shown to provide the user with installation
    instructions. Issue: #342
  * After a lot of effort, a workaround for the instability of Flash
    plugin was found out and is used until WebKitGTK developers find a
    proper fix. However, it is applied only in flatpak builds because it
    may have negative impact on other WebKitGTK applications otherwise.
    Issue: #354

Bug fixes:

  * Wrong command in desktop launcher was fixed.
    Issue: #348
  * Fix wscript for non-git builds. Issue: tiliado/diorite#16

News for Script Maintainers:

  * `Nuvola.VERSION_MICRO` contains micro version of Nuvola Runtime.
  * `Nuvola.API_VERSION_MAJOR` and `Nuvola.API_VERSION_MINOR` are now
    deprecated aliases of `Nuvola.VERSION_MAJOR`
    and `Nuvola.VERSION_MINOR`.
  * Tutorial was updated to use Nuvola ADK 4.4.
  * Added documentation of web app requirement flags.
  * Added documentation of user agent quirks.
  * New API for progress bar integration.
  * New API for volume management integration.
  * New utility functions `Nuvola.encodeVersion` and
    `Nuvola.checkVersion`.
  * `Nuvola.triggerMouseEvent` and `clickOnElement` support relative
    x & y coordinates.

Under the Hood:

  * New dependencies: libdrm >= 2.2 and libdri2 >= 1.0
  * Nuvola checks whether VDPAU and VA-API drivers are installed and
    prints debugging information to console. It will show error dialog
    in the future though, so make sure the drivers are installed.
    Issue: #280
  * Internal icon loading code was refactored. Legacy icon.png and
    nuvolaplayer3_XXX icons are no longer supported.
    eu.tiliado.NuvolaAppXxx is used everywhere.
    Issue: #353

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
@jiri-janousek jiri-janousek modified the milestones: 5.x, July 2017 Jun 25, 2017
@jiri-janousek jiri-janousek modified the milestones: August 2017, July 2017 Jul 29, 2017
@jiri-janousek
Copy link
Member Author

Closing in favor of #424.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant