* [WIP] Working on fetching channel metadata in yt-dlp backend * Finished first draft of methods to do with querying channels * Renamed CommandRunnerMock to have a more descriptive name * Ran the phx generator for the channel model * Renamed Downloader namespace to MediaClient * [WIP] saving before attempting LiveView * LiveView did not work out but here's a working controller how about
17 lines
541 B
Text
17 lines
541 B
Text
<.header>
|
|
Channel <%= @channel.id %>
|
|
<:subtitle>This is a channel record from your database.</:subtitle>
|
|
<:actions>
|
|
<.link href={~p"/media_sources/channels/#{@channel}/edit"}>
|
|
<.button>Edit channel</.button>
|
|
</.link>
|
|
</:actions>
|
|
</.header>
|
|
|
|
<.list>
|
|
<:item title="Channel Name"><%= @channel.name %></:item>
|
|
<:item title="Channel ID"><%= @channel.channel_id %></:item>
|
|
<:item title="Original URL"><%= @channel.original_url %></:item>
|
|
</.list>
|
|
|
|
<.back navigate={~p"/media_sources/channels"}>Back to channels</.back>
|