@props([ 'torrent', 'meta', 'personalFreeleech', ]) auth()->user()->settings?->show_poster, 'torrent-search--list__no-poster-row' => ! auth()->user()->settings?->show_poster, 'torrent-search--list__sticky-row' => $torrent->sticky, ]) data-torrent-id="{{ $torrent->id }}" data-igdb-id="{{ $torrent->igdb }}" data-imdb-id="{{ $torrent->imdb }}" data-tmdb-id="{{ $torrent->tmdb }}" data-tvdb-id="{{ $torrent->tvdb }}" data-mal-id="{{ $torrent->mal }}" data-category-id="{{ $torrent->category_id }}" data-type-id="{{ $torrent->type_id }}" data-resolution-id="{{ $torrent->resolution_id }}" wire:key="torrent-search-row-{{ $torrent->id }}" > @if (auth()->user()->settings?->show_poster) @if ($torrent->category->movie_meta || $torrent->category->tv_meta) {{ __('torrent.similar') }} @endif @if ($torrent->category->game_meta) {{ __('torrent.similar') }} @endif @if ($torrent->category->music_meta) {{ __('torrent.similar') }} @endif @if ($torrent->category->no_meta) @if (file_exists(public_path() . '/files/img/torrent-cover_' . $torrent->id . '.jpg')) {{ __('torrent.similar') }} @else {{ __('torrent.similar') }} @endif @endif @endif
@if ($torrent->category->image !== null) {{ $torrent->category->name }} $torrent->category->movie_meta || $torrent->category->tv_meta, 'padding-top: 12px' => ! ($torrent->category->movie_meta || $torrent->category->tv_meta), ]) /> @else $torrent->category->movie_meta || $torrent->category->tv_meta, 'padding-top: 12px' => ! ($torrent->category->movie_meta || $torrent->category->tv_meta), ]) > @endif
@if ($torrent->category->movie_meta || $torrent->category->tv_meta) {{ $torrent->resolution->name ?? 'No Res' }} @endif {{ $torrent->type->name }}
{{ $torrent->name }} @include('components.partials._torrent-icons')
@if (auth()->user()->group->is_editor || auth()->user()->group->is_modo || auth()->id() === $torrent->user_id) @endif @if (config('torrent.download_check_page')) @else @endif @if (config('torrent.magnet')) @endif
@if ($torrent->category->game_meta) {{ round($meta->rating ?? 0) }}% @elseif ($torrent->category->movie_meta || $torrent->category->tv_meta) {{ round(($meta->vote_average ?? 0) * 10) }}% @else N/A @endif {{ $torrent->getSize() }} {{ $torrent->seeds_count ?? $torrent->seeders }} {{ $torrent->leeches_count ?? $torrent->leechers }} {{ $torrent->times_completed }}