Last stream as playlist thumbnail
This commit is contained in:
parent
8176884124
commit
cff8164bcd
|
@ -64,7 +64,7 @@ get { url, resolver } =
|
||||||
|
|
||||||
playlistMiniatureUrl : Playlist -> String
|
playlistMiniatureUrl : Playlist -> String
|
||||||
playlistMiniatureUrl playlist =
|
playlistMiniatureUrl playlist =
|
||||||
case List.head playlist.videos of
|
case List.head (List.reverse playlist.videos) of
|
||||||
Just v ->
|
Just v ->
|
||||||
"videos/" ++ playlist.url ++ v ++ "miniature-050.png"
|
"videos/" ++ playlist.url ++ v ++ "miniature-050.png"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue