This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:54:33.952 [error] GenServer #PID<0.289.0> terminating | |
** (Membrane.ParentError) Duplicated names in children specification: [:audio_timestamper, :audio_payloader, :audio_cmaf_muxer] | |
(membrane_core 0.5.2) lib/membrane/core/parent/child_life_controller/startup_handler.ex:26: Membrane.Core.Parent.ChildLifeController.StartupHandler.check_if_children_names_unique/2 | |
(membrane_core 0.5.2) lib/membrane/core/parent/child_life_controller.ex:27: Membrane.Core.Parent.ChildLifeController.handle_spec/2 | |
(membrane_core 0.5.2) lib/membrane/core/pipeline/action_handler.ex:53: Membrane.Core.Pipeline.ActionHandler.do_handle_action/4 | |
(membrane_core 0.5.2) lib/membrane/core/pipeline/action_handler.ex:29: Membrane.Core.Pipeline.ActionHandler.handle_action/4 | |
(bunch 1.3.0) lib/bunch/enum.ex:121: anonymous fn/3 in Bunch.Enum.try_reduce/3 | |
(elixir 1.10.2) lib/enum.ex:3686: Enumerable.List.reduce/3 | |
(elixir 1.10.2) lib/enum.ex:2161: Enum.reduce_while/3 | |
(membrane_core 0.5.2) lib/membrane/core/callback_han |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multi.new() | |
|> Multi.insert(:item_without_hash_id, changeset) | |
|> Multi.run(:playlist, fn _repo, %{item_without_hash_id: playlist} -> | |
playlist | |
|> Playlist.changeset_generate_hash_id() | |
|> Repo.update() | |
end) | |
# iterate over the localized_titles and add to db | |
# pass in playlist that was just inserted | |
|> Multi.run(:add_localized_titles, fn _repo, %{playlist: playlist} -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
traefik: | |
container_name: traefik | |
image: traefik:latest | |
networks: | |
- traefik | |
restart: unless-stopped | |
command: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
proxy: | |
image: traefik:v2.1 | |
container_name: traefik | |
restart: unless-stopped | |
security_opt: | |
- no-new-privileges:true | |
networks: | |
- proxy-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
proxy: | |
image: traefik:v1.7 | |
ports: | |
- 80:80 | |
- 443:443 | |
networks: | |
- proxy-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
# proxy: | |
# image: traefik:v1.7 | |
# ports: | |
# - 80:80 | |
# - 443:443 | |
# networks: | |
# - proxy-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
proxy: | |
image: traefik:v1.7 | |
ports: | |
- 80:80 | |
- 443:443 | |
networks: | |
- proxy-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios' | |
import { Message, MessageBox } from 'element-ui' | |
import { UserModule } from '@/store/modules/user' | |
const service = axios.create({ | |
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url | |
timeout: 5000 | |
// withCredentials: true // send cookies when cross-domain requests | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="app-container"> | |
<el-dropdown trigger="click" @command="handleSetChannel"> | |
<div> | |
<el-col :span="4" class="text-center"> | |
<router-link class="pan-btn green-btn" to="/table/complex-table"> | |
Select Channel | |
</router-link> | |
</el-col> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def add_playlist( | |
ordinal, | |
basename, | |
small_thumbnail_path, | |
med_thumbnail_path, | |
large_thumbnail_path, | |
banner_path, | |
media_category, | |
localized_titles, | |
channel_id |