Skip to content

Instantly share code, notes, and snippets.

💭
working on datafruits

Tony Miller mcfiredrill

💭
working on datafruits
Block or report user

Report or block mcfiredrill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:8c5ef2e15ca0038ab65c72d6c527c994
2019/10/21 16:17:17 [lang:3] on_track
2019/10/21 16:17:17 [lang:3] url: https://datafruits.streampusher.com/publish_metadata.json
Certificate[1] subject=/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
Certificate[1] issuer =/O=Digital Signature Trust Co./CN=DST Root CA X3
SSL: rejecting connection - error=20
2019/10/21 16:17:17 [lang:3] status: ("Internal error", 999, "Internal error")
2019/10/21 16:17:17 [lang:3] headers: []
2019/10/21 16:17:17 [lang:3] data: Error while processing request: SSL read() error: error:00000000:lib(0):func(0):reason(0)
2019/10/21 16:17:17 [lang:3] protocol: Internal error
2019/10/21 16:17:17 [lang:3] response code: 999
View metadata_channel.ex
[error] GenServer #PID<0.397.0> terminating
** (RuntimeError) Expected handle_info to return one of:
{:noreply, Socket.t} |
{:noreply, Socket.t, timeout | :hibernate} |
{:stop, reason :: term, Socket.t} |
got {:no_reply, %Phoenix.Socket{assigns: %{}, channel: Chat.MetadataChannel, channel_pid: #PID<0.397.0>, endpoint: Chat.Endpoint, handler: Chat.UserSocket, id: nil, join_ref: "1", joined: true, private: %{log_handle_in: :debug, log_join: :info}, pubsub_server: Chat.PubSub, ref: nil, serializer: Phoenix.Socket.V1.JSONSerializer, topic: "metadata", transport: :websocket, transport_pid: #PID<0.394.0>}}
(phoenix) lib/phoenix/channel/server.ex:409: Phoenix.Channel.Server.handle_result/2
View metadata_channel.ex
[error] GenServer #PID<0.664.0> terminating
** (FunctionClauseError) no function clause matching in Chat.MetadataChannel.handle_info/2
(chat) web/channels/metadata_channel.ex:13: Chat.MetadataChannel.handle_info({:redix_pubsub, #PID<0.665.0>, #Reference<0.3467860231.2808610818.72062>, :subscribed, %{channel: "metadata"}}, %Phoenix.Socket{assigns: %{}, channel: Chat.MetadataChannel, channel_pid: #PID<0.664.0>, endpoint: Chat.Endpoint, handler: Chat.UserSocket, id: nil, join_ref: "138", joined: true, private: %{log_handle_in: :debug, log_join: :info}, pubsub_server: Chat.PubSub, ref: nil, serializer: Phoenix.Socket.V1.JSONSerializer, topic: "metadata", transport: :websocket, transport_pid: #PID<0.394.0>})
(phoenix) lib/phoenix/channel/server.ex:304: Phoenix.Channel.Server.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:711: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:redix_pubsub, #PID<0.665.0>,
View gist:ef8d7819d4db9e94452646009df6d176
2019/07/11 03:17:45 [protocol.process:4] Processing mp3,curl -sL "https$(colon)//streampusher.s3.amazonaws.com/datafruits/Sadkeysantafruits.mp3" -
o $(output)
2019/07/11 03:17:45 [protocol.process:4] Executing curl -sL "https://streampusher.s3.amazonaws.com/datafruits/Sadkeysantafruits.mp3" -o "/tmp/liq-
process4da4f2.mp3"
2019/07/11 03:17:45 [sandbox:5] Command: curl -sL "https://streampusher.s3.amazonaws.com/datafruits/Sadkeysantafruits.mp3" -o "/tmp/liq-process4da
4f2.mp3"
2019/07/11 03:17:45 [lang.run_process:4] Starting process
2019/07/11 03:17:45 [lang.run_process:4] Closing process's stdin
2019/07/11 03:17:54 [lang.run_process:4] Process exited with code 0
2019/07/11 03:17:54 [lang.run_process:4] Cleaning up process
View tunein.liq
# https://forum.sourcefabric.org/discussion/15711/liquidsoap-tunein-com-now-playing-implementation/p1
# Submit now playing metadata to tunein.com.
# usage:
# %include "tunein.liq"
# s = on_track(tunein.submit(partnerid="ppppid",partnerkey="ppppkey",stationid="s123456"), s)
# Requires parterId, partnerKey and stationId. See http://tunein.com/broadcasters/api/.
# @category Interaction
# @param ~partnerid Set to supplied parterId.
# @param ~partnerkey Set to supplied partnerKey.
View gist:656b19f43102c42363b54829c884e3ed
$ yarn add ember-route-action-helper --ignore-engines
yarn add v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/ember-route-action-helper/-/ember-route-action-helper-2.0.7.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/c/Users/mcfir/src/donationmanager/frontend/yarn-error.log".
View gist:e7fb877767ba635447052bd3910fb1b9
$ yarn add ember-route-action-helper --ignore-engines
yarn add v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/ember-route-action-helper/-/ember-route-action-helper-2.0.7.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/c/Users/mcfir/src/donationmanager/frontend/yarn-error.log".
View gist:90a6b033008b670e0f24db139a43a7ac
$ yarn add ember-route-action-helper --ignore-engines
yarn add v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/ember-route-action-helper/-/ember-route-action-helper-2.0.7.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/c/Users/mcfir/src/donationmanager/frontend/yarn-error.log".
View gist:cb8fa95a867f54698611dba7a6b4eea8
$ yarn add ember-route-action-helper --ignore-engines
yarn add v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/ember-route-action-helper/-/ember-route-action-helper-2.0.7.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/c/Users/mcfir/src/donationmanager/frontend/yarn-error.log".
View gist:86fbeaed50f721774bc85ff691a69c10
$ yarn add ember-route-action-helper --ignore-engines
yarn add v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/ember-route-action-helper/-/ember-route-action-helper-2.0.7.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/c/Users/mcfir/src/donationmanager/frontend/yarn-error.log".
You can’t perform that action at this time.