File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -62,4 +62,6 @@ remote_production:
6262 fly ssh console -C " /home/elixir/app/bin/{{binname}} remote" --app {{appname}}
6363
6464tunnel :
65- ssh -p 443 -R0:localhost:4000 ${PINGY_TOKEN} @a.pinggy.online
65+ # cloudflared tunnel --token ${CLOUDFLARE_TOKEN} --url http://localhost:4000
66+ # Public dynamic tunnel, works for now, but would be good to setup something with the token
67+ cloudflared tunnel --url http://localhost:4000
Original file line number Diff line number Diff line change @@ -119,10 +119,13 @@ defmodule PR.Music do
119119 def check_current_playstate ( % PlaybackState { state: state } , _mode ) ,
120120 do: { :error , :playstate , state }
121121
122+ def check_current_playstate ( % { } , _mode ) ,
123+ do: { :error , :playstate , nil }
124+
122125 def check_unplayed ( ) do
123126 # Check if there's something in the queue
124127 # If might still be marked as playing if its a skip
125- # but that's probably ok as this check is only really
128+ # but that's probably ok as this check is only really
126129 # of interest for knowing what to do when skip is pressed
127130 cond do
128131 Queue . num_unplayed ( ) == 0 ->
You can’t perform that action at this time.
0 commit comments