@extends('admin.layouts.app') @section('title', 'Bölüm Düzenle') @section('page-title', 'Bölüm Düzenle') @push('styles') @endpush @section('content')
Bölümlere Dön
Son güncelleme: {{ $episode->updated_at->format('d.m.Y H:i') }}
@csrf @method('PUT')
{{-- Bölüm Bilgileri --}}
Bölüm Bilgileri
{{-- İntro Ayarları --}}
İntro / Outro Zaman Ayarı
— "İntroyu Atla" butonu için
@if($episode->intro_start && $episode->intro_end)
Mevcut: {{ $episode->intro_start }}sn — {{ $episode->intro_end }}sn ({{ $episode->intro_end - $episode->intro_start }}sn süre)
@endif
{{-- Video Kaynağı --}}
Video Kaynağı
{{-- İzinler --}} @if(isset($permissions) && count($permissions))
İzin Ayarları
@foreach($permissions as $perm) @php $current = $contentPerms[$perm->key] ?? 'free'; @endphp
{{ $perm->label }}
@endforeach
@endif
{{-- Sağ --}}
{{-- İstatistikler --}}
Bölüm İstatistikleri
İzlenme {{ number_format($episode->view_count) }}
Süre {{ $episode->duration_formatted ?? ($episode->duration ? floor($episode->duration/60).'dk' : '—') }}
Kaynak {{ strtoupper($episode->source) }}
Eklenme {{ $episode->created_at->format('d.m.Y H:i') }}
{{-- Thumbnail --}}
Thumbnail
@if($episode->thumbnailUrl) @endif
Önerilen: 1280×720px
{{-- Yayın --}}
Yayın Ayarı
Yayınla
Kullanıcılara görünür yap
is_published?'checked':'' }}>
İptal
{{-- Video Kaynakları + HEVC Tarama --}} @php $videoSources = \App\Models\VideoSource::where('episode_id', $episode->id)->orderBy('sort_order')->get(); @endphp @if($videoSources->count())
Video Kaynakları ({{ $videoSources->count() }})
@foreach($videoSources as $src)
{{ strtoupper($src->type) }} {{ $src->label ?: '—' }} @if($src->quality) {{ $src->quality }} @endif
@if($src->is_hevc) H.265 @elseif($src->hevc_checked_at) H.264 ✓ @else Taranmadı @endif
@endforeach
@endif @endsection @push('scripts') @endpush