Skip to content

Commit

Permalink
Fixed Tidal covers display.
Browse files Browse the repository at this point in the history
Fix #124
Added support for dff files
Updated getid3
  • Loading branch information
ArturSierzant committed Jun 7, 2020
1 parent 993e861 commit 36c4d63
Show file tree
Hide file tree
Showing 137 changed files with 2,179 additions and 760 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ test*
TODO.txt
get-db-data.php
tidalapi/tidal.py
.vscode
.vscode
ajax-tidal-download.php
5 changes: 3 additions & 2 deletions about.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down Expand Up @@ -94,7 +94,8 @@ function about() {
<tr class="odd">
<td></td>
<td colspan="3">
<i class="fa fa-globe fa-fw"></i>&nbsp;&nbsp;<a href="https://ompd.pl">https://ompd.pl</a><br>
<i class="fa fa-globe fa-fw"></i>&nbsp;&nbsp;<a href="https://ompd.pl" target="_blank">https://ompd.pl</a><br>
<i class="fa fa-github fa-fw"></i>&nbsp;&nbsp;<a href="https://github.com/ArturSierzant/OMPD" target="_blank">https://github.com/ArturSierzant/OMPD</a><br>
<i class="fa fa-envelope-o fa-fw"></i>&nbsp;&nbsp;<a href="mailto:[email protected]">[email protected]</a><br><br>
This program comes with <a href="about.php?action=license#nowarranty">ABSOLUTELY NO WARRANTY</a>.<br>
This is free software, and you are welcome to redistribute it<br>
Expand Down
2 changes: 1 addition & 1 deletion ajax-album-playlist.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-blacklist.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-change-player.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-evaluate-status.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-favorite-arrange-MPD.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-favorite-arrange-Tidal.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-favorite-arrange.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-favorite-list.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-favorite.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-playlist-mini.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-playlist-save.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-playlist-sync.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-random-files.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-suggested.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-tidal-search.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-track-version.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-update-progress.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax-yt-search.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion ajax.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion browser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
2 changes: 1 addition & 1 deletion config-update-select.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down
8 changes: 7 additions & 1 deletion config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down Expand Up @@ -88,6 +88,12 @@ function config() {
$nav = array();
$nav['name'][] = 'Configuration';
require_once('include/header.inc.php');

//precompile update.php to speed up update process
if (function_exists("opcache_compile_file")){
$isCompiled = opcache_compile_file (NJB_HOME_DIR . "update.php");
}

$i = 0;
?>
<table cellspacing="0" cellpadding="0" class="border">
Expand Down
4 changes: 2 additions & 2 deletions favorite.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// +------------------------------------------------------------------------+
// | O!MPD, Copyright © 2015-2019 Artur Sierzant |
// | O!MPD, Copyright © 2015-2020 Artur Sierzant |
// | http://www.ompd.pl |
// | |
// | |
Expand Down Expand Up @@ -821,7 +821,7 @@ function importFavorite($favorite_id, $mode) {
$file[] = createStreamUrlMpd('tidal_' . $id);
}
//TIDAL album
elseif (strpos($url,TIDAL_ALBUM_URL) !== false || strpos($url,TIDAL_APP_ALBUM_URL) !== false || strpos($url,TIDAL_ALBUM_URL) !== false) {
elseif (strpos($url,TIDAL_ALBUM_URL) !== false || strpos($url,TIDAL_ALBUM_URL_2) !== false || strpos($url,TIDAL_APP_ALBUM_URL) !== false) {
$tidal_tracks = getTracksFromTidalAlbum($id);
$tidal_tracks = json_decode($tidal_tracks, true);

Expand Down
8 changes: 8 additions & 0 deletions getid3/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
Version History
===============

1.9.19: [2019-12-17] James Heinrich :: 1.9.19-201912131005
» add placeholder support for WTV (Windows Recorded TV Show)
* bugfix (G:210) PHP 7.4 deprecated get_magic_quotes
* bugfix (G:207) improved LAME version string parsing
* bugfix (G:206) inverted logic in CopyTagsToComments
* bugfix (G:203) use getimagesizefromstring if available
* Quicktime decode 'uuid' atom for 360fly cameras

1.9.18: [2019-07-24] James Heinrich :: 1.9.18-201907240906
* bugfix (G:198) use native hash functions instead of obsolete external binaries
* bugfix (G:194) PHP 7.4 compatibility: fix deprecated curly brace array access
Expand Down
2 changes: 1 addition & 1 deletion getid3/demos/demo.basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
metadata is all available in one location for all tag formats
metainformation is always available under [tags] even if this is not called
*/
getid3_lib::CopyTagsToComments($ThisFileInfo);
$getID3->CopyTagsToComments($ThisFileInfo);

/*
Output desired information in whatever format you want
Expand Down
Loading

0 comments on commit 36c4d63

Please sign in to comment.