|
|
|
@ -234,7 +234,6 @@ struct InvidiousPlaylist
|
|
|
|
|
0_i64
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def description_html
|
|
|
|
|
HTML.escape(self.description)
|
|
|
|
|
end
|
|
|
|
@ -252,7 +251,7 @@ def create_playlist(title, privacy, user)
|
|
|
|
|
created: Time.utc,
|
|
|
|
|
updated: Time.utc,
|
|
|
|
|
privacy: privacy,
|
|
|
|
|
index: [] of Int64
|
|
|
|
|
index: [] of Int64,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
Invidious::Database::Playlists.insert(playlist)
|
|
|
|
@ -270,7 +269,7 @@ def subscribe_playlist(user, playlist)
|
|
|
|
|
created: Time.utc,
|
|
|
|
|
updated: playlist.updated,
|
|
|
|
|
privacy: PlaylistPrivacy::Private,
|
|
|
|
|
index: [] of Int64
|
|
|
|
|
index: [] of Int64,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
Invidious::Database::Playlists.insert(playlist)
|
|
|
|
|