mirror of
https://github.com/koel/koel
synced 2024-11-10 22:54:16 +00:00
Applied fixes from StyleCI
This commit is contained in:
parent
4c90c35c28
commit
39d726c5ec
3 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ class FSWatchRecord
|
|||
* Determine if the event is valid to Koel.
|
||||
* We only watch Created, Removed, Renamed, and Updated events.
|
||||
*
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
public function isValidEvent()
|
||||
{
|
||||
|
@ -61,7 +61,7 @@ class FSWatchRecord
|
|||
* For example, deleting on OSX will be reported as "Renamed", as
|
||||
* the file/directory is "renamed" into the Trash folder.
|
||||
*
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
public function isDeleted()
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ class InotifyWatchRecord extends WatchRecord implements WatchRecordInterface
|
|||
|
||||
/**
|
||||
* Parse the inotifywait's output. The inotifywait command should be something like:
|
||||
* $ inotifywait -rme move,close_write,delete --format "%e %w%f" $MEDIA_PATH
|
||||
* $ inotifywait -rme move,close_write,delete --format "%e %w%f" $MEDIA_PATH.
|
||||
*
|
||||
* @param $string string The output string.
|
||||
*/
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
namespace App\Services;
|
||||
|
||||
use App\Console\Commands\SyncMedia;
|
||||
use App\Events\LibraryChanged;
|
||||
use App\Libraries\WatchRecord\WatchRecordInterface;
|
||||
use App\Models\Album;
|
||||
use App\Models\Artist;
|
||||
use App\Models\Setting;
|
||||
use App\Models\Song;
|
||||
use App\Events\LibraryChanged;
|
||||
use Exception;
|
||||
use getID3;
|
||||
use getid3_lib;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
use SplFileInfo;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
class Media
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue