Skip to content

Commit

Permalink
Add cover art
Browse files Browse the repository at this point in the history
  • Loading branch information
fakerybakery authored and notartom committed Dec 14, 2024
1 parent 2db8d39 commit f50f9f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/libraries/Librivox_API.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ function _build_data_set($params)
if ($extended)
{
$project['url_iarchive'] = $row['url_iarchive'];

$project['coverart_jpg'] = !empty($row['coverart_jpg']) ? $row['coverart_jpg'] : null;
$project['coverart_pdf'] = !empty($row['coverart_pdf']) ? $row['coverart_pdf'] : null;
$project['coverart_thumbnail'] = !empty($row['coverart_thumbnail']) ? $row['coverart_thumbnail'] : null;

//get sections
$project['sections'] = $this->_get_sections($row['id']);
Expand Down

0 comments on commit f50f9f8

Please sign in to comment.