mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Fetching next_download for each channel.
This commit is contained in:
parent
4f770bd215
commit
fa0ccedd8b
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ async def get_minimal_channels() -> List[dict]:
|
|||
# Get all channels, even if they don't have videos.
|
||||
stmt = '''
|
||||
SELECT
|
||||
c.id, name, link, directory, url, download_frequency, info_date
|
||||
c.id, name, link, directory, url, download_frequency, info_date,
|
||||
(select next_download from download d where d.url=c.url) AS next_download
|
||||
FROM
|
||||
channel AS c
|
||||
ORDER BY LOWER(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue