Skip to content

Commit

Permalink
2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Jan 15, 2020
1 parent 0fa219d commit 1cf7720
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Changelog
All notable changes to the Audio Player project will be documented in this file.

## 2.9.0 - 2019-12-xx
## 2.9.0 - 2020-01-15
### Changed
- update getID3 to 1.9.18-201911300717
- PHP 7.4 compatibility [#449](https://github.com/rello/audioplayer/issues/449)

### Added
- Add new playlist with 50 random tracks [#455](https://github.com/rello/audioplayer/pull/455) @[great-qwerty](https://github.com/great-qwerty)
- NC18

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ See [README](https://github.com/rello/audioplayer/blob/master/README.md) file fo
<screenshot>https://raw.githubusercontent.com/rello/audioplayer/master/screenshots/audioplayer_screen.png</screenshot>
<dependencies>
<php min-version="7.0" max-version="7.4"/>
<nextcloud min-version="14" max-version="17"/>
<nextcloud min-version="14" max-version="18"/>
<owncloud min-version="9" max-version="10"/>
</dependencies>
<repair-steps>
Expand Down
3 changes: 2 additions & 1 deletion lib/Controller/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ public function getCategoryItems($category)
$aPlaylists[] = array('id' => 'X2', 'name' => $this->l10n->t('Recently Added'));
$aPlaylists[] = array('id' => 'X3', 'name' => $this->l10n->t('Recently Played'));
$aPlaylists[] = array('id' => 'X4', 'name' => $this->l10n->t('Most Played'));
$aPlaylists[] = array('id' => 'X5', 'name' => $this->l10n->t('50 Random Tracks'));
//https://github.com/Rello/audioplayer/issues/442
//$aPlaylists[] = array('id' => 'X5', 'name' => $this->l10n->t('50 Random Tracks'));
$aPlaylists[] = array('id' => '', 'name' => '');

// Stream files are shown directly
Expand Down
10 changes: 5 additions & 5 deletions lib/Http/AudioStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@

class AudioStream
{
private string $path = "";
private $path = "";
private $stream;
private int $iStart = -1;
private int $iEnd = -1;
private $iStart = -1;
private $iEnd = -1;
private $iSize = 0;
private $mimeType = 0;
private int $buffer = 8192;
private $buffer = 8192;
private $mTime = 0;
private $userView;
private bool $isStream = false;
private $isStream = false;

public function __construct($filePath, $user = null)
{
Expand Down

0 comments on commit 1cf7720

Please sign in to comment.