mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Move streamers into Services
This commit is contained in:
parent
88b7baa0c1
commit
3049804811
8 changed files with 12 additions and 12 deletions
|
@ -3,11 +3,11 @@
|
||||||
namespace App\Http\Controllers\API;
|
namespace App\Http\Controllers\API;
|
||||||
|
|
||||||
use App\Http\Requests\API\SongUpdateRequest;
|
use App\Http\Requests\API\SongUpdateRequest;
|
||||||
use App\Http\Streamers\PHPStreamer;
|
use App\Services\Streamers\PHPStreamer;
|
||||||
use App\Http\Streamers\S3Streamer;
|
use App\Services\Streamers\S3Streamer;
|
||||||
use App\Http\Streamers\TranscodingStreamer;
|
use App\Services\Streamers\TranscodingStreamer;
|
||||||
use App\Http\Streamers\XAccelRedirectStreamer;
|
use App\Services\Streamers\XAccelRedirectStreamer;
|
||||||
use App\Http\Streamers\XSendFileStreamer;
|
use App\Services\Streamers\XSendFileStreamer;
|
||||||
use App\Models\Song;
|
use App\Models\Song;
|
||||||
use YouTube;
|
use YouTube;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
class PHPStreamer extends Streamer implements StreamerInterface
|
class PHPStreamer extends Streamer implements StreamerInterface
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
class S3Streamer extends Streamer implements StreamerInterface
|
class S3Streamer extends Streamer implements StreamerInterface
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
use App\Models\Song;
|
use App\Models\Song;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
interface StreamerInterface
|
interface StreamerInterface
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
use App\Models\Song;
|
use App\Models\Song;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
use App\Models\Setting;
|
use App\Models\Setting;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Streamers;
|
namespace App\Services\Streamers;
|
||||||
|
|
||||||
class XSendFileStreamer extends Streamer implements StreamerInterface
|
class XSendFileStreamer extends Streamer implements StreamerInterface
|
||||||
{
|
{
|
Loading…
Reference in a new issue