aboutsummaryrefslogtreecommitdiffstats
path: root/livie-channel.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-01-17 15:28:32 -0500
committerJesús <heckyel@hyperbola.info>2021-01-17 15:28:32 -0500
commit6d12908ab81e43b3a4b11a8a6e5b09ca5497a948 (patch)
tree89cd4b63bb45cb538aec4c3c817e5398c420d1d4 /livie-channel.el
parent15b2ecf65225449c5156251c616db982daf1150e (diff)
downloadlivie-6d12908ab81e43b3a4b11a8a6e5b09ca5497a948.tar.lz
livie-6d12908ab81e43b3a4b11a8a6e5b09ca5497a948.tar.xz
livie-6d12908ab81e43b3a4b11a8a6e5b09ca5497a948.zip
Pretty code
Diffstat (limited to 'livie-channel.el')
-rw-r--r--livie-channel.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/livie-channel.el b/livie-channel.el
index ebf0e22..147a101 100644
--- a/livie-channel.el
+++ b/livie-channel.el
@@ -50,19 +50,19 @@
(defun livie--channel-query (uid n sort)
"Query youtube for UID videos, return the Nth page of results, sorted bv SORT."
(let ((videos (livie--API-call (concat "channels/videos/" uid)
- `(("page" ,n)
- ("sort_by" ,sort)
- ("fields" ,livie-default-video-query-fields)))))
+ `(("page" ,n)
+ ("sort_by" ,sort)
+ ("fields" ,livie-default-video-query-fields)))))
(dotimes (i (length videos))
(let ((v (aref videos i)))
(aset videos i
(livie-video--create :title (assoc-default 'title v)
- :author (assoc-default 'author v)
- :authorId (assoc-default 'authorId v)
- :length (assoc-default 'lengthSeconds v)
- :id (assoc-default 'videoId v)
- :views (assoc-default 'viewCount v)
- :published (assoc-default 'published v)))))
+ :author (assoc-default 'author v)
+ :authorId (assoc-default 'authorId v)
+ :length (assoc-default 'lengthSeconds v)
+ :id (assoc-default 'videoId v)
+ :views (assoc-default 'viewCount v)
+ :published (assoc-default 'published v)))))
videos))
(defun livie-channel ()