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:
Roardom
2025-03-06 15:51:51 +00:00
parent 8210e1614a
commit 5a6259cea7
107 changed files with 55 additions and 553 deletions
-2
View File
@@ -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,
-8
View File
@@ -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,