diff options
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/tubo/api/items.clj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/tubo/api/items.clj b/src/backend/tubo/api/items.clj index 63678c1..8519449 100644 --- a/src/backend/tubo/api/items.clj +++ b/src/backend/tubo/api/items.clj @@ -3,6 +3,7 @@ (defn get-stream-item [stream] {:type :stream + :service-id (.getServiceId stream) :url (.getUrl stream) :name (.getName stream) :thumbnail-url (.getThumbnailUrl stream) @@ -20,6 +21,7 @@ (defn get-channel-item [channel] {:type :channel + :service-id (.getServiceId channel) :url (.getUrl channel) :name (.getName channel) :thumbnail-url (.getThumbnailUrl channel) @@ -31,6 +33,7 @@ (defn get-playlist-item [playlist] {:type :playlist + :service-id (.getServiceId playlist) :url (.getUrl playlist) :name (.getName playlist) :thumbnail-url (.getThumbnailUrl playlist) |