From 4357eb6c456950224d7d4a47a5c85465012ad904 Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 17 Feb 2023 21:32:37 +0000 Subject: [PATCH] add apple license --- src/libpoketube/init/pages-video.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 837e1a51..50601703 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -461,6 +461,28 @@ module.exports = function (app, config, renderTemplate) { const search = what => atmos.find(element => element.id === what); const mos = search(v) +/* + this is only for the alac codec being used + + * Copyright (c) 2023 Apple Inc. All rights reserved. + * + * @APPLE_APACHE_LICENSE_HEADER_START@ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * @APPLE_APACHE_LICENSE_HEADER_END@ + */ + if (mos) { var url_e = mos.url +