Skip to content

Commit

Permalink
2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Jul 19, 2020
1 parent cc7d820 commit 357ffd6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Changelog
All notable changes to the Audio Player project will be documented in this file.

## 2.11.0 - 2020-07-xx
## 2.11.0 - 2020-07-19
### Added
- WhatsNew popup [#480](https://github.com/rello/audioplayer/issues/480)
- Hardware media keys (MediaSession API) [#479](https://github.com/rello/audioplayer/issues/479)
- Hardware media keys & Chrome/Android player [#479](https://github.com/rello/audioplayer/issues/479)
- Aif Aiff support [#475](https://github.com/rello/audioplayer/issues/475)
- Absolute path and '../' in .m3u playlist files [#457](https://github.com/rello/audioplayer/issues/457)
- Remember playback position between sessions [#288](https://github.com/rello/audioplayer/issues/288)
Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
- Favorites, Sidebar & Search integration
- Specifying media folder (with exclude functionality)
- One Click Play in Files app
- Hardware media keys (MediaService API)
- Hardware media keys & Chrome/Android player
- [SONOS player](https://github.com/rello/audioplayer_sonos) via add-on
- [ID3 editor](https://github.com/rello/audioplayer_editor) via add-on
See [README](https://github.com/rello/audioplayer/blob/master/README.md) file for all supported MIME types and additional information.]]></description>
<version>2.10.2</version>
<version>2.11.0</version>
<licence>agpl</licence>
<author>Marcel Scherello</author>
<namespace>audioplayer</namespace>
Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/WhatsNewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace OCA\audioplayer\Controller;

use OCA\Audioplayer\WhatsNew\WhatsNewCheck;
use OCA\audioplayer\WhatsNew\WhatsNewCheck;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Http;
Expand Down
18 changes: 11 additions & 7 deletions lib/Migration/Version2102Date20200712213332.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
/**
* Auto-generated migration step: Please modify to your needs!
*/
class Version2102Date20200712213332 extends SimpleMigrationStep {
class Version2102Date20200712213332 extends SimpleMigrationStep
{

/** @var IDBConnection */
private $connection;
Expand All @@ -28,7 +29,8 @@ public function __construct(IDBConnection $connection)
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
*/
public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $options) {
public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $options)
{
}

/**
Expand All @@ -37,7 +39,8 @@ public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $
* @param array $options
* @return null|ISchemaWrapper
*/
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options)
{
/** @var ISchemaWrapper $schema */
$schema = $schemaClosure();

Expand All @@ -49,14 +52,15 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
*/
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) {
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options)
{
$query = $this->connection->getQueryBuilder();
$query->insert('audioplayer_whats_new')
->values([
'version' => $query->createNamedParameter('2.10.2'),
'version' => $query->createNamedParameter('2.11.0'),
'data' => $query->createNamedParameter('{"changelogURL":"https:\/\/github.com\/rello\/audioplayer\/blob\/master\/CHANGELOG.md","whatsNew":{
"en":{"regular":["Hardware media buttons support","This WhatsNew popup"],"admin":["New Features apply to users"]},
"de":{"regular":["Hardware Medien Tasten Unterstützung","Dieses WhatsNew Fenster"],"admin":["Nur User Features"]}
"en":{"regular":["Hardware media buttons","Better repeat/shuffle","AIF mime type","Remember playback position"],"admin":["New Features apply to users"]},
"de":{"regular":["Hardware Medien Tasten","Besserer Repeat/Shuffle","AIF mime type","Titelposition werden gespeichert"],"admin":["Nur User Features"]}
}}'),
])
->execute();
Expand Down
2 changes: 1 addition & 1 deletion templates/part.audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

<div class="sm2-inline-element sm2-button-element sm2-volume" data-placement="left"
title="<?php p($l->t('Volume')); ?>">
<div id="playerVolume" class="sm2-button-bd sm2-inline-button sm2-volume-control volume-shade">
<div id="playerVolume" class="sm2-button-bd sm2-inline-button sm2-volume-controls">
</div>
</div>

Expand Down

0 comments on commit 357ffd6

Please sign in to comment.