Comments (5)
いやでも出来るか
ここで待ってる7秒のせいでバグってるから、time.Sleepする前にstateかなにかを書き換えれて条件分岐すれば良い気が数r
https://github.com/camphor-/relaym-server/blob/master/usecase/session_timer.go#L34
from relaym-server.
Spotifyで次の曲の再生が始まる〜トリガーの処理が終わる間にGET /sesisons/:id を叩くとINTERRUPTになるっぽい 😇
1005と1011の間にGET /sessions/:idを叩くと駄目って感じ
from relaym-server.
これ対応するの面倒くさ!
from relaym-server.
処理中みたいなstateを作って処理の間はそれに変更しておく&イベントで処理中的な物を返すみたいな…?(クソめんどくさい
from relaym-server.
トリガーがExpireする前に曲が先に進んでしまうのが問題だから、処理中のstateを作っても上手いことハンドリングできなくない?
from relaym-server.
Related Issues (20)
- [Session] 曲の切り替え時に謎にINTERRUPTが送られてくる HOT 1
- [refactor] archived_atの時間指定をRepositoryから分離
- [Session] 50曲以上の曲を追加できない HOT 2
- 次の曲にスキップの機能を実装 HOT 4
- [State] PAUSE中にactive device not foundになると再生がバグる
- 時々GetSessionでspotifyから404: Not Foundが帰ってくる HOT 3
- [Track] 日本の曲を検索しても、一部英語表記になっている問題
- [Timer] サーバ再起動時のセッションタイマー復元処理をもっとよくする
- ログがコンテナ再起動で消えちゃうのを何とかしたい HOT 1
- [Session] 他人への操作が許可されていないときは3日間でARCHIVEにしないようにしたい HOT 1
- [Session] たまに意図しないタイミングでINTERRUPTが返ってくる HOT 12
- [Session] Spotifyアプリを閉じた後、ずっとRelaymを開かないと、StateがPLAYのままactive device not foundになる
- skipがなんか怪しい HOT 2
- skipを連続叩くと時々differentTrackする
- Relaymのデプロイ/定期タスクをRundeckからGitHubActionへ移行
- conpose project nameを指定する
- シャッフル再生の実装 HOT 1
- [Session] 再生中に「Select Devices」でデバイスを 選択してもリアルタイムで切り替わらない
- Dependabot can't resolve your Go dependency files
- Dependabot can't resolve your Go dependency files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relaym-server.