mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-08 04:00:14 -05:00
remove: sd content and stream optimized flags
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
This commit is contained in:
@@ -133,9 +133,7 @@ class Rss extends Model
|
||||
'freeleech' => null,
|
||||
'doubleupload' => null,
|
||||
'featured' => null,
|
||||
'stream' => null,
|
||||
'highspeed' => null,
|
||||
'sd' => null,
|
||||
'internal' => null,
|
||||
'personalrelease' => null,
|
||||
'bookmark' => null,
|
||||
|
||||
@@ -55,7 +55,6 @@ use Laravel\Scout\Searchable;
|
||||
* @property int $igdb
|
||||
* @property int|null $season_number
|
||||
* @property int|null $episode_number
|
||||
* @property int $stream
|
||||
* @property int $free
|
||||
* @property bool $doubleup
|
||||
* @property bool $refundable
|
||||
@@ -65,7 +64,6 @@ use Laravel\Scout\Searchable;
|
||||
* @property int|null $moderated_by
|
||||
* @property bool $anon
|
||||
* @property bool $sticky
|
||||
* @property int $sd
|
||||
* @property int $internal
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
@@ -168,7 +166,6 @@ class Torrent extends Model
|
||||
torrents.igdb,
|
||||
torrents.season_number,
|
||||
torrents.episode_number,
|
||||
torrents.stream,
|
||||
torrents.free,
|
||||
torrents.doubleup,
|
||||
torrents.refundable,
|
||||
@@ -176,7 +173,6 @@ class Torrent extends Model
|
||||
torrents.status,
|
||||
torrents.anon,
|
||||
torrents.sticky,
|
||||
torrents.sd,
|
||||
torrents.internal,
|
||||
UNIX_TIMESTAMP(torrents.deleted_at) AS deleted_at,
|
||||
torrents.distributor_id,
|
||||
@@ -846,7 +842,6 @@ class Torrent extends Model
|
||||
'igdb',
|
||||
'season_number',
|
||||
'episode_number',
|
||||
'stream',
|
||||
'free',
|
||||
'doubleup',
|
||||
'refundable',
|
||||
@@ -855,7 +850,6 @@ class Torrent extends Model
|
||||
'status',
|
||||
'anon',
|
||||
'sticky',
|
||||
'sd',
|
||||
'internal',
|
||||
'deleted_at',
|
||||
'distributor_id',
|
||||
@@ -918,7 +912,6 @@ class Torrent extends Model
|
||||
'igdb' => $torrent->igdb,
|
||||
'season_number' => $torrent->season_number,
|
||||
'episode_number' => $torrent->episode_number,
|
||||
'stream' => (bool) $torrent->stream,
|
||||
'free' => $torrent->free,
|
||||
'doubleup' => (bool) $torrent->doubleup,
|
||||
'refundable' => (bool) $torrent->refundable,
|
||||
@@ -927,7 +920,6 @@ class Torrent extends Model
|
||||
'status' => $torrent->status->value,
|
||||
'anon' => (bool) $torrent->anon,
|
||||
'sticky' => (int) $torrent->sticky,
|
||||
'sd' => (bool) $torrent->sd,
|
||||
'internal' => (bool) $torrent->internal,
|
||||
'deleted_at' => $torrent->deleted_at?->timestamp,
|
||||
'distributor_id' => $torrent->distributor_id,
|
||||
|
||||
Reference in New Issue
Block a user